php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #41674 mysql ignored on php CLI commandline
Submitted: 2007-06-12 21:04 UTC Modified: 2007-06-12 22:13 UTC
From: rogierversluis at xs4all dot nl Assigned:
Status: Not a bug Package: CGI/CLI related
PHP Version: 5.2.3 OS: CentOS 4.4
Private report: No CVE-ID: None
 [2007-06-12 21:04 UTC] rogierversluis at xs4all dot nl
Description:
------------
When trying to run php from commandline SSH, it is not able to find the mysql module. Which is compiled into PHP (-with-mysql). Also with directing it to the right PHP.INI file it will not load. The only way to get it to work is to use mysql.so in your scripts.

Reproduce code:
---------------
php --rf mysql_connect();

php -m

Expected result:
----------------
php -m should contain mysql

Actual result:
--------------
no mysql module loaded

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-06-12 22:13 UTC] sniper@php.net
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 09:01:28 2024 UTC