Xampp Apache不会在安装Oracle DB 10G之后开始。如何修复?
我以前一直在做php,但像往常一样,我使用mysql作为数据库。所以使用 xampp 时一切看起来都很简单。
现在,由于某种原因,我需要使用 Oracle 作为数据库,但是在我的电脑上安装 Oracle 数据库 10g 后,我似乎根本无法从控制面板启动 apache!当我按开始时,它不会启动,而是返回到停止状态。我尝试将其设为服务并启动它,但它弹出一个错误。
是什么造成了这个冲突,我可以使用 IIS 来做到这一点,但我更喜欢 xampp,所以我渴望让这个东西发挥作用。
有谁知道有什么冲突吗?是港口吗?
我知道如何配置 oracle 扩展以及所有的 php 让它工作,但我只是很困惑为什么安装了 oracle db 10g 后 apache 无法启动。
希望有人能帮助我。
I've been doing php before but as usual,I used mysql as a database. So everything seems easy when using xampp.
Now, for some reason I am required to use Oracle as the database but after installing Oracle database 10g on my pc, I can't seem to start apache from the control panel at all! When I press start,instead of it being started it goes back to the stopped state. I tried making it a service and starting it from, it pops out an error.
What is making this conflict, I can use IIS to do this but I prefer xampp so I'm eager to make this thing work.
Does anyone know whats the conflict? Is it the port?
I know how to configure the oracle extension and all with php to get it to work, but I am just confused why apache can't be started when oracle db 10g is installed.
Hope someone can help me out.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我只是遇到了startup.pl 没有启动的问题(根据日志文件),所以我进入 xampp\apache\conf\httpd.conf 并通过放置一个散列(或称为磅)来编辑此包含行前面的状态)(#):
Perl 设置
包含“conf/extra/httpd-perl.conf”,
它似乎现在可以工作,我现在已经在我的机器上运行了 oracle 和 apache。
我不确定以后是否会因为删除该行而出现任何问题,但我认为我不需要使用任何与 perl 相关的东西,所以希望它会好起来
I just had this problem with startup.pl not starting (according to the log files), so I went into xampp\apache\conf\httpd.conf and editted out this include line by putting a hash (or pound as it is called in the states) (#) in front of it:
Perl settings
Include "conf/extra/httpd-perl.conf"
it seems to work now and I have now got oracle and apache working on my machine.
Im not sure if there will be any problems later on because of removing the line, but I don't think I need to use anything perl related so hopefully it will be fine
听起来平台是Windows。 Oracle 习惯于在系统范围内更改 PATH 设置。 Oracle安装中还有Apache安装。也许您可以调整 Apache 服务以使用 Oracle Apache 安装。否则,请确保您的 Apache 启动服务的 PATH 中没有 ORACLE_HOME 或 ORACLE_HOME/bin 的子目录。 Oracle 通常安装的服务不在标准端口上,因此不太可能是端口冲突。
Sounds like platform is Windows. Oracle has the habit to alter the PATH setting, system wide. There is also an Apache installation in the Oracle installation. Maybe you can tweak the Apache service to use the Oracle Apache installation. Otherwise, make sure that your Apache start service does not have ORACLE_HOME or sub-directories of ORACLE_HOME/bin in the PATH. The services that Oracle installs normally are not on the standard ports so it's not very likely that it is a port conflict.