码迷,mamicode.com
首页 > Web开发 > 详细

杜德,我的php.ini在哪里? - Dude, where's my php.ini?

时间:2020-06-25 21:13:35      阅读:78      评论:0      收藏:0      [点我收藏+]

标签:其他   因此   oom   sys   参考   apache   ibm   表操作   about   

问题:

A few years ago I installed Apache 2.2x and PHP 5.3.1 on a Linux server I maintain. 几年前,我在维护的Linux服务器上安装了Apache 2.2x和PHP 5.3.1。 I used .tar.gz‘s and built them as instructed (instead of rpms and what-have-you). 我使用.tar.gz并按照指示进行构建(而不是rpm和您拥有什么)。 And all was fine. 一切都很好。

Today I need to install this which seems like a PHP library. 今天,我需要安装它 ,它看起来像一个PHP库。 I went through all the steps up to make install, and I find ibm_db2.so in $PHP_HOME/lib/extensions/somecomplicatedname/ibm_db2.so 我完成了所有安装步骤,然后在$PHP_HOME/lib/extensions/somecomplicatedname/ibm_db2.so ibm_db2.so中找到了ibm_db2.so。

The great catch is the last step is to configure php.ini but there is NO php.ini on my system. 最好的收获是最后一步是配置php.ini,但是我的系统上没有php.ini。 Horror of horrors. 恐怖的恐怖。 PHP works fine, except of course for this new-fangled ibm_db2 thingamagic that I want to use so somebody can use a GUI to tinker with DB2 . PHP可以正常工作,当然除了我要使用的这种新型ibm_db2东西之外,其他人可以使用GUI来修改DB2 。 (I tried a small php script which fails and indicates that the ibm_db2 functions are not available). (我尝试了一个小的php脚本,该脚本失败了,并指示ibm_db2函数不可用)。

I have to deal with PHP once every few years, so please enlighten me at a very basic level about what I could do to enable web-based GUI access to DB2 . 我必须每隔几年处理一次PHP,因此请从一个非常基本的角度启发我,使我可以做些什么来使基于Web的GUI访问DB2 。


解决方案:

参考一: https://stackoom.com/question/aRGL/杜德-我的php-ini在哪里
参考二: https://oldbug.net/q/aRGL/Dude-where-s-my-php-ini

推荐:excel数据透视表,10个Excel数据透视表操作技巧

杜德,我的php.ini在哪里? - Dude, where's my php.ini?

标签:其他   因此   oom   sys   参考   apache   ibm   表操作   about   

原文地址:https://www.cnblogs.com/1994july/p/13192745.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!