你好,我用xampp+laravel支持oracle+oracle搭建网站,连接数据库不成功。

在 xampp 环境下安装 laravel
时间: 23:25:35
&&&& 阅读:1661
&&&& 评论:
&&&& 收藏:0
标签:&&&&&&&&&&&&&&&&&&&&&&&&&&&网上搜了很多教程,很多都是采用命令行安装的。但是对于web前端来说,根本就不知道在干吗! 于是,打算写一篇文章,来教后面的人如何在 XAMPP 环境下安装 laravel。
XAMPP(Apache+MySQL+PHP+PERL)是一个功能强大的建站集成软件包。XAMPP 是一个易于安装且包含 MySQL、PHP 和 Perl 的 Apache 发行版。XAMPP 的确非常容易安装和使用:只需下载,解压缩,启动即可。
Laravel是一套简洁、优雅的PHP Web开发框架(PHP Web Framework)。它可以让你从面条一样杂乱的代码中解脱出来;它可以帮你构建一个完美的网络APP,而且每行代码都可以简洁、富于表达力。
前提:首先,你得先安装好xampp,这个比较简单,百度教程就可以解决。
安装Composer:Laravel框架使用(PHP包管理工具,参考&)来管理代码依赖性。Windows操作系统中,你可以使用Composer的。下载后直接安装就可以了,安装之后,可以在控制台输入composer查看是否安装成功。
中间有一步记得选择php.exe:
验证是否成功。打开win+R 》 cmd &输入 composer,显示如下界面 表示安装成功!
&安装laravel: 接上一部,进入xampp/htdoc 文件夹下,输入如下命令:
composer create-project laravel/laravel learnlaravel5
然后,稍等片刻,当前目录下就会出现一个叫 learnlaravel5 的文件夹。
当然还有一种安装方式,就是直接下载完整安装包,解压放在xampp/htdocs文件夹下即可,下载地址:
最后再输入url: localhost/laravel/public/index.php,显示下面的就表示安装成功。
注意网址中laravel记得替换成你自己的文件夹名字,根据上面建的应该是learnlaravel5,也就是网址是:localhost/learnlaravel5/public/index.php
到此大功告成,你想继续学习的话,可参考就可以入门了。标签:&&&&&&&&&&&&&&&&&&&&&&&&&&&原文:http://www.cnblogs.com/huansky/p/6111422.html
教程昨日排行
&&国之画&&&& &&&&&&
&& &&&&&&&&&&&&&&
鲁ICP备号-4
打开技术之扣,分享程序人生!Top 25 Technology Consultant profiles at Federal Express
| LinkedIn
Insights about Technology Consultant - Federal Express members on LinkedIn$85,200 / year$51,700$122,000Show prevFedEx Services - 3American Express - 2FedEx - 2Anthem, Inc. - 2Oracle - 1Accenture - 1PwC - 1Apttus - 1SouthernSun Asset Management - 1Wells Fargo - 1Show nextBreakdown of top 10Show prevUniversity of Phoenix - 5University of Colorado Colorado Springs - 3The University of Memphis - 3The University of Texas at Austin - 3York University - 2Mercer University - 2Capella University - 2University of Oklahoma - 2Liberty University - 2RMIT University - 1Show nextBreakdown of top 10Show prevInformation Technology & Services - 45Financial Services - 7Transportation/Trucking/Railroad - 4Computer Software - 3Management Consulting - 2Logistics & Supply Chain - 2Biotechnology - 2Retail - 2Insurance - 2Internet - 2Show nextBreakdown of top 10Show prevUnited States - 70Phoenix, Arizona Area - 7Canada - 6Greater Memphis Area - 6Toronto, Canada Area - 5Dallas/Fort Worth Area - 5Greater New York City Area - 5Houston, Texas Area - 4Greater Los Angeles Area - 4Greater Atlanta Area - 3Show nextBreakdown of top 10Top SkillsTechnology Consultant profiles on LinkedInFind and connect to the top Technology Consultant members on LinkedInLooking to hire?Get unbeatable access to Technology Consultant candidates with LinkedIn Jobs.Person placeholder imageCompany placeholder imageCustomer Technology Consultant at FedEx Federal Expressshow aboveshow belowPerson placeholder imageWorld Wide Account Manager at Federal Express Corporation - FedEx ServicesPast experienceSenior Account Executive at Federal Express Corporation - FedEx ServicesSupply Chain Consultant - Information Technology at Federal Express Corporation - FedEx ExpressAccount Administrator at IBMRepair Center Specialist at IBMEducationKennesaw State University - Michael J. Coles College of Businessshow aboveshow belowPerson placeholder imageSr System Programmer at Federal ExpressPast experienceLead Unix/Linux Administrator at Hilton HotelsCompany placeholder imagePartner at Solid Network ConsultingCompany placeholder imageTechnical Sales at Access/PomeroyCompany placeholder imageSales at Pomeroy IT SolutionsEducationUniversity of MississippiChristian Brothers UniversitySummarySenior Linux,Unix infrastructure administrator with 25+ years of enterprise experience.show aboveshow belowPerson placeholder imageCompany placeholder imageDirector of Information Technology at Federal ExpressCompany placeholder imageProject Manager at Logictics /Transportation Company placeholder imageProject Manager at ConsultantPast experienceCompany placeholder imageTechnical Consultant at Hewlett PackardEducationCompany placeholder imageSapthagiri College of EngineeringSummaryDynamic executive leadership career with 14 years of expertise in contributing to the development of business strategy with IT, for a large...show aboveshow belowCompany placeholder imageSenior IT Consultant at ConsultingPast experienceCompany placeholder imagePrincipal Consultant at COLLEGE FOUNDATION OF NORTH CAROLINACompany placeholder imageIT Business Analyst at NC DEPARTMENT OF HEALTH AND HUMAN SERVICESIT Consultant at University of North Carolina at Chapel HillJava Developer at IBMEducationThe University of MemphisThe University of MemphisSummaryPROFESSIONAL SUMMARY
? Software Applications Architect, Analyst and Developer with expertise in full life cycle development in latest...show aboveshow belowAre you a Technology Consultant?Create a free profile to get recognized for what you doPerson placeholder imageInformation Technology Security Consultant at Wells FargoPast experienceInformation Security Consultant at Banner HealthInformation Security Analyst at Hennepin CountyInformation Security Consultant at Wells FargoIT Auditor at Federal Reserve Bank of MinneapolisEducationUniversity of PhoenixUniversity of PhoenixUniversity of Phoenixshow aboveshow belowDirector, Account Management at EPAM SystemsCompany placeholder imagePresident at CLG AssociatesPast experienceConsultant, Program Manager, Wholesale Internet Solutions at Wells FargoConsultant/Senior Program Manager & Business Analyst at Mellon Capital ManagementVice President, Equity Investment Strategist at Mellon Capital ManagementVice President, Senior Portfolio Manager & Business Analyst at Mellon Capital ManagementEducationUniversity of California San DiegoCompany placeholder imageMt. Carmel HIgh SchoolSummaryNASD Series 7, 6, 66, 65, 63
Multi-lingual in English, Swedish.
Specialties: Large scale project management within capital market...show aboveshow belowPerson placeholder imageshow aboveshow belowPerson placeholder imageshow aboveshow belowCompany placeholder imagePresident at 2Shipshow aboveshow belowSenior Consultant at Signature ConsultantsPast experienceSenior PM Consultant at CollaberaPM at Wells FargoSenior Project Manager at Desert Schools Federal Credit UnionTechnology and Project Management Consultant at CDI Global Staffing ServicesEducationUniversity of PhoenixCompany placeholder imagePMPUniversity of Texasshow aboveshow belowPast experienceProject Manager Business Analyst at Avolve SoftwareBusiness Analyst II at The University of Texas Rio Grande ValleyIT Project Manager Associate at The University of Texas - Pan AmericanSr Customer Technology Consultant at Federal ExpressEducationAshford UniversityUniversity of Nevada-RenoCompany placeholder imageTruckee Meadows Community CollegeSummary13 years of IT experience in consulting, implementing, and supporting projects on various Business Domains. 10 years of relevant experience...show aboveshow belowshow aboveshow belowE-Commerce Director at InterCambio Express, Inc.Past experienceSenior Vice President Operations at Press Ganey AssociatesInstructor, E-Business Strategies at University of Notre DameDirector of Central and International Services at University of Notre DameDirector of Administrative Services at University of Notre DameEducationUniversity of Notre DameSummarySenior Operations Leader with a demonstrated history of working in service-oriented and people-focused organizations across multiple...show aboveshow belowPerson placeholder imageshow aboveshow belowCompany placeholder imagePrincipal Architect Consultant at Hayds Technologies Inc.Past experienceIT Architect, Digital Service at RBCMicroservice Lead Architect at Hewlett Packard EnterpriseSolutions Architect - DevOps and Microservices at RBCInfrastructure Solutions Lead at Shoppers Drug MartEducationWuhan UniversitySummary-Enterprise Architecture Design/Governance, System Architecture Design, Application Architecture Design, UML Modeling & OOAD
- Complex...show aboveshow belowshow aboveshow belowCustomer Success Manager ( for Business Transformation Solutions ) at OraclePast experienceCustomer Success Manager (for BPM Cloud Solutions) at OracleBPM Senior Consultant (Process Architect) at OracleBPM Consultant at OracleSenior Customer Intgration Specialist at Federal ExpressEducationCompany placeholder imageUNISCUniversidade Santo Amaro - UnisaUniversidade PaulistaSummaryI am &Business Transformation Explorer& and my purpose is to help organizations on the new way.....new era...based on the business...show aboveshow belowChair: Security Working Group at Open Connectivity FoundationPrincipal Architect at CableLabsChief Scientist and Technology Consultant at Optimal SchedulePast experienceChief Technololgy Officer at Open Scan Technologies, Inc. (Now BillTrust)Chief Information Officer and VP of Technology at Assist GroupChief Architect at ICAT ManagersSoftware Architect / Lead Engineer at Sun MicrosystemsEducationUniversity of Colorado Boulder - Leeds School of BusinessUniversity of Colorado Colorado SpringsUniversity of MichiganSummaryTechnologist with a proven ability to participate or lead multiple teams of engineers, operations and data professionals through...show aboveshow belowshow aboveshow belowCompany placeholder imageSr. Manager, Project Management, VMO, Contract Management Lead (Consultant) at Estee Lauder Companies (Consultant- Seeking New Oppurtunities)Past experienceDirector, Project Management and PMO at BroadridgeSr. Program Manager, Management Consultant at Spencer TechnologiesDirector, Enterprise Program Delivery at CBS CorporationDirector, Project Management Information Technology at CA TechnologiesSummaryProject Management, Cloud Implementation, Application Vulnerability Security Audits, Service Delivery, ITIL, CONTINUOUS IMPROVEMENT,...show aboveshow belowCompany placeholder imageConstruction Inspection Consultant at WS Owen CompanyCompany placeholder imageBusiness Partner - IT Advisory Consultant at WS Owen CompanyPast experienceAssociate Director - IT Infrastructure Services at Cognizant Technology SolutionsAltus Technology Corporation - IT Systems Management Consultant at Akron Children's HospitalCompany placeholder imageAltus Technology Corporation - IT Systems Management Consultant at Delhaize AmericaIT Security Offerings Manager at IBM Global ServicesEducationCompany placeholder imageITSM AcademyMercer UniversitySummaryIT Executive Consultant with extensive background of skills and experience.
Key Industries: Healthcare, Industrial, Finance and Public...show aboveshow belowPerson placeholder imageDirector, Small Merchant Marketing at American ExpressPast experienceSenior Manager, Small Merchant Marketing at American ExpressSenior Manager, OPEN Inbound Card Sales & Acquisition Dialogue at American ExpressManager, Field Strategy & Effectiveness at American ExpressSenior Consultant at Booz Allen HamiltonEducationUniversity of Marylandshow aboveshow belowDirector of Clinical Operations and Professional Services at Wingspan TechnologyPast experienceDirector of Professional Services at Wingspan TechnologyDirector of Business Analysis at Wingspan TechnologySenior Business Analyst at Wingspan TechnologyConsultant - Technology Growth Products / Life Sciences at AccentureEducationTemple UniversityWashington University in St. LouisCompany placeholder imageCentennial High SchoolSummaryApplication Developer, Technical Analyst, and Business Analyst with a deep understanding of the pharmaceutical industry and the regulations...show aboveshow belowGlobal Head of Digital Strategy & Innovation at Infosys DigitalExecutive Leader | Lecturer | Applied Analytics | Adjunct at Columbia University in the City of New YorkExecutive Leader | Digital Marketing |
Innovation |
Data Analytics | Adjunct at New York UniversityPast experienceVice President | Global Digital Innovation & Emerging Payments | Marketing Strategy at MasterCard InternationalChief Digital Officer | Marketing Analytics | Customer Insights | Global e-Commerce | Innovation at Phone Interview ProPresidential
Advisor | President’s Leadership Counsel at Drexel UniversityChief Marketing Officer l Chief Digital Officer | CMO | Marketing Strategies | Marketing Campaigns at CD UniverseEducationInternational School of Management Ph.D.Georgetown UniversityColumbia University in the City of New YorkSummaryMulti-faceted Senior Executive with international career success as versatile manager, team builder and goal-oriented revenue cycle...show aboveshow belowShow moreShow lessLearn the skills to be a Technology ConsultantLearn a new skill online, on your own time. Get started today with video instruction from recognized industry experts.Course by LinkedIn LearningCourse by LinkedIn LearningCourse by LinkedIn LearningCourse by LinkedIn LearningCourse by LinkedIn LearningCourse by LinkedIn LearningCourse by LinkedIn LearningCourse by LinkedIn LearningCourse by LinkedIn LearningCourse by LinkedIn LearningCourse by LinkedIn LearningCourse by LinkedIn LearningCourse by LinkedIn LearningCourse by LinkedIn LearningCourse by LinkedIn LearningCourse by LinkedIn LearningCourse by LinkedIn LearningCourse by LinkedIn LearningCourse by LinkedIn LearningCourse by LinkedIn LearningShow moreShow less在 SegmentFault,学习技能、解决问题
每个月,我们帮助 1000 万的开发者解决各种各样的技术问题。并助力他们在技术能力、职业生涯、影响力上获得提升。
问题对人有帮助,内容完整,我也想知道答案
问题没有实际价值,缺少关键内容,没有改进余地
laravel连接oracle问题
经了解,通过composer安装了,在config/app.php中添加了Yajra\Oci8\Oci8ServiceProvider::class,终端执行$ php artisan vendor:publish --tag=oracle后,配置了config中的oracle.php,连接数据库报错,如下
已部署oracle的instantclient并在系统path中添加了环境变量,并启用了php.ini的extension=php_oci8_12c.dll,问题仍然存在,看phpinfo()输出的结果似乎oci8扩展并未启用
答案对人有帮助,有参考价值
答案没帮助,是错误的答案,答非所问
终于解决了,php是32位的,所以下载的instantclient也要是32位的……
分享到微博?
关闭理由:
删除理由:
忽略理由:
推广(招聘、广告、SEO 等)方面的内容
与已有问题重复(请编辑该提问指向已有相同问题)
答非所问,不符合答题要求
宜作评论而非答案
带有人身攻击、辱骂、仇恨等违反条款的内容
无法获得确切结果的问题
非开发直接相关的问题
非技术提问的讨论型问题
其他原因(请补充说明)
我要该,理由是:
在 SegmentFault,学习技能、解决问题
每个月,我们帮助 1000 万的开发者解决各种各样的技术问题。并助力他们在技术能力、职业生涯、影响力上获得提升。安装 laravel 5.4_PHP教程-织梦者
当前位置:&>&&>& > 安装 laravel 5.4
安装 laravel 5.4
1.1PHP集成环境
这里我们使用的是XAMPP.
1.2安装Composer
Windows下最新版本Composer下载:Composer-Setup.exe。
安装完成后,如果Composer安装包安装/更新缓慢,可以配置使用国内镜像进行包依赖的安装和升级,具体可参考这篇文章《Composer中国全量镜像》。
1.3 配置系统路径
要在控制台中使用composer命令,需要将Composer及PHP的可执行文件(.exe/.bat)所在目录配置到系统环境变量Path中。PHP对应的php.exe在XAMPP安装目录中找,Composer对应的composer.bat文件所在目录默认为C:\ProgramData\ComposerSetup\bin。这里不再赘述。
1.4 其他要求
PHP必备扩展:OpenSSL、PDO、Mbstring、Tokenizer。检查下这几个PHP扩展是否已安装,如果没有安装需要进行安装。
安装完成后重新启动XAMPP。
使用Composer安装Laravel
以上准备工作做好后,接下来正式开始安装新的Laravel应用。首先我们直接通过Composer安装Laravel。
进入XAMPP安装目录的htdocs文件夹:
cd /path/to/xampp/htdocs
在该目录下,执行如下Composer命令:
composer create-project laravel/laravel --prefer-dist
即可在该目录中安装一个目录名的laravel的新的Laravel应用,如果你想指定自定义的安装目录名,如laravelapp,则使用如下命令即可:
composer create-project laravel/laravel laravelapp --prefer-dist
如果安装过程中报错:
[RuntimeException]
Could not load package classpreloader/classpreloader in http://packagist.org: [UnexpectedValueException] Could not parse version constraint ^1.2.2: Invalid version string &^1.2.2&
则表示需要更新Composer:
composer self-update
执行完更新后再次执行安装命令即可。
完成安装需要一定时间,等待安装完成后,即可在中通过http://localhost/laravelapp/public来访问新安装的Laravel应用:
对应Apache的httpd-vhosts.conf配置如下:
&VirtualHost *:80&
DocumentRoot &E:/xampp/htdocs/laravelapp/public&
ServerName laravel.app
ErrorLog &logs/laravelapp-error.log&
CustomLog &logs/laravelapp-access.log& common
&/VirtualHost&
注意:在你自己的配置文件中需要将DocumentRoot设置为自己的Laravel安装目录。
以上就是安装 laravel 5.4的全文介绍,希望对您学习和使用php有所帮助.
这些内容可能对你也有帮助
更多可查看PHP教程列表页。
猜您也会喜欢这些文章

我要回帖

更多关于 xampp配置laravel 的文章

 

随机推荐