Cannot Find MySQL Header Files Under - Compiling PHP5 (Suse 9.0)
I have compiled and installed MySQL and Apache 2. I am now trying to compile
PHP5 module for apache but am having real problems with it. I keep getting
the message:
"Cannot find MySQL header files under" and then a file path. I have tried
various paths and no path at all but I still can't get it to work. Is there
something else I need to download that is not part of the Standard MySQL
source download?
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
- Problem Installing PHP5 On SuSE 8.2
- Installing And Running Apache 2.0.46 / Php5.0.0b1 / Suse Linux 8.2
- Compiling Php5 With Mysqli Support
- Compiling Of Php Files
- Can Not Find Libexec/libphp5.so (install PHP5 + Apache2.0 +mysql4.2)
- How Do I Find Certain Files In A Directory?
- Where To Find The Lib Files Ie: PHP_Sockets.dll
- Compiling Php 4.3.4 On Solaris 8 Mysql
- Compiling MySQL Results
- Find Timestamp For System Files
- Where Do I Find The Latest Dll Files For Php_pdf.dll
- IIS Could Not Find .php File, However It Finds Html Files In The Same Dir
- Find A Max Value In Mysql With Php ?
- Can't Find MySQL Extensions (PHP As CGI)
- Find Mysql Row In An Array?
- Installed Php-4.3.3RC1 On Suse 8.2
- Trying To Build PHP 4.3.0 With Apache 2.2.2 On SUSE 9.1
- Find Match In MySQL Table
- Where Can I Find A Good Mysql Reference ?
- Postgresql Connection Problem On SUSE-9.1
- How To Find The Last Accessed Date Of A MySql Database
- Find A List Of The Mysql Query Syntax?
- Apache 1.3.27, PHP 4, SuSE 8.2 PRO - Form-Post Failure
- Mail() Fails - Php4, Sendmail, Suse
- PHP5 And MySQL
- PHP5, MySQL & Libmysql.dll
- Framework For MySQL And PHP5
- PHP5 With MySQL 4.1 On Apache 2 On Win98
- Extensions And MySQL.dll On WinXP PHP5
- PHP5, Windows Installer And MySQL
- Mysql And Php5 Deleting Rows
- How To Configure PHP5 To Use MySQL In Windows XP
- Trying To Get MySQL, Apache, And Php5 To Play Nice Together
- PHP5 Installation With MySQL, Windows 2000
- Enable Soap, Mysql PHP5 Windows Xp
- Working Combination Of PHP5, MySQL And OpenSSL
- PHP5.05, Mysql4.1, Apache On Windows XP - Cant Get Php To Talk To Mysql
- "failed To Open Stream No Such Directory Or File" Apache Suse 10.0
- Header Error Without Whitespace Issue - Cannot Modify Header Information
- Compiling PHP With VC++7...
- Help Compiling PHP
- Fun With Compiling PHP 5.1 (help)
- Compiling PHP 5.1.2 On RH9
- Compiling PHP
- Compiling PHP 5.1.2
- Problem Setting A Received Header Using Header ()
- Still Not Compiling Jpeg With Gd
- Compiling Java With Php?
- Compiling The Modules
Problem Installing PHP5 On SuSE 8.2
I've been reading through the lasts months of postings in this (and some other) newsgroups to find a solution to my PHP problem. The configuration I use is as follows: - SuSE v8.2 - Apache 2.0.54 - MySQL 4.1.14 - PHP 5.0.5 Installing the first 3 parts was not a problem at all. Both Apache and MySQL start just fine. Before I could perform a proper 'configure' of PHP I had to update libxml2, add libxml2-devel and python but then the following command worked without any errors: ./configure --with-apxs2=/usr/local/httpd/bin/apxs --with-mysql=/usr [note: the previous is, of course, a single line] After this, I used 'make' to compile the stuff and this is where things go wrong. The following error message is shown: =============[ start of make-output ]============================ vpsuse:/usr/local/php # make /bin/sh /usr/local/php/libtool --silent --preserve-dup-deps --mode=compile gcc -Iext/standard/ -I/usr/local/php/ext/standard/ -DPHP_ATOM_INC -I/usr/local/php/include -I/usr/local/php/main -I/usr/local/php -I/usr/include/mysql -I/usr/local/php/ext/xml/expat -I/usr/local/php/TSRM -I/usr/local/php/Zend -g -O2 -prefer-non-pic -c /usr/local/php/ext/standard/info.c -o ext/standard/info.lo /bin/sh /usr/local/php/libtool --silent --preserve-dup-deps --mode=compile gcc -I/usr/local/httpd/include -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -I/usr/local/httpd/include -I/usr/local/httpd/include -Isapi/apache2handler/ -I/usr/local/php/sapi/apache2handler/ -DPHP_ATOM_INC -I/usr/local/php/include -I/usr/local/php/main -I/usr/local/php -I/usr/include/mysql -I/usr/local/php/ext/xml/expat -I/usr/local/php/TSRM -I/usr/local/php/Zend -g -O2 -prefer-non-pic -c /usr/local/php/sapi/apache2handler/sapi_apache2.c -o sapi/apache2handler/sapi_apache2.lo In file included from /usr/local/php/sapi/apache2handler/sapi_apache2.c:39: /usr/local/httpd/include/ap_config.h:229:16: os.h: No such file or directory In file included from /usr/local/httpd/include/util_filter.h:23, from /usr/local/php/sapi/apache2handler/sapi_apache2.c:40: /usr/local/httpd/include/httpd.h:42:16: os.h: No such file or directory make: *** [sapi/apache2handler/sapi_apache2.lo] Error 1 =============[ end of make-output ]==============================
Installing And Running Apache 2.0.46 / Php5.0.0b1 / Suse Linux 8.2
I did the following as instructed in the docs. (see below) everything seemed to install ok and I started apache with no complaints, but, 1)I do not see a process for apache using ps -ef 2) In yast I see that the new apache2 version is installed but not php5, its still on php4 any ideas ? 1. gzip -d httpd-2_0_NN.tar.gz 2. tar xvf httpd-2_0_NN.tar 3. gunzip php-NN.tar.gz 4. tar -xvf php-NN.tar 5. cd httpd-2_0_NN 6. ./configure --enable-so 7. make 8. make install Now you have Apache 2.0.NN available under /usr/local/apache2, configured with loadable module support and the standard MPM prefork. To test the installation use your normal procedure for starting the Apache server, e.g.: /usr/local/apache2/bin/apachectl start and stop the server to go on with the configuration for PHP: /usr/local/apache2/bin/apachectl stop. 9. cd ../php4-NN 10. ./configure --with-apxs2=/usr/local/apache2/bin/apxs 11. make 12. make install 13. cp php.ini-dist /usr/local/lib/php.ini Edit your php.ini file to set PHP options. If you prefer this file in another location, use --with-config-file-path=/path in step 10. 14. Edit your httpd.conf file and check that these lines are present: LoadModule php4_module modules/libphp4.so AddType application/x-httpd-php .php The path on the right hand side of the LoadModule statement must point to the path of the PHP module on your system. The above statement is correct for the steps shown above. 15. Use your normal procedure for starting the Apache server, e.g.: /usr/local/apache2/bin/apachectl start
Compiling Php5 With Mysqli Support
I tryed to compile php5 (a dev snapshot) --with-mysqli=/usr/local/bin/mysql_config The configuration works just fine but the compilation crash near zif_mysqli_stmt_num_rows.
Compiling Of Php Files
Does php engine compiles, builds and executes all the included files and scripts every time it is executed? If so, doesn't it become burden on both server and php engine? Especially when a framework files are included in every php page.
Can Not Find Libexec/libphp5.so (install PHP5 + Apache2.0 +mysql4.2)
Thank you for your time to see my question. I am new in PHP. I installed MySQL, SSL, and Aparche2 in my fedora 3 box. everything working fine. now I am installing PHP5. I followed PHP installation instruction, everything is OK before 14th step: 14. Edit your httpd.conf to load the PHP module. The path on the right hand side of the LoadModule statement must point to the path of the PHP module on your system. The make install from above may have already added this for you, but be sure to check. For PHP 4: LoadModule php4_module libexec/libphp4.so For PHP 5: LoadModule php5_module libexec/libphp5.so After I modified the file and doing the step 15 which is restart Apache server, the error message said it can not find the file libphp5.so I did search my entire file system, there is no such file, what's going on? Am I did something wrong?
How Do I Find Certain Files In A Directory?
I need to find all the files in a directory that have a particular extension (like .txt), and then load the contents of those files into MySQL. I understand how to find a specific file, but I'm not sure how to read an entire directory, then grab only those files that have the extension. Also, should I be concerned about the server timing out, or anything of that nature, since there might be as many as a few hundred files that I'll be loading into the database.
Where To Find The Lib Files Ie: PHP_Sockets.dll
I am running WIN98 , Xitami web server and PHP 4.2.0. Can any one tell me where to find the lib files ie: PHP_Sockets.dll The ones I found are all compile under a different API than my PHP compilation.
Compiling Php 4.3.4 On Solaris 8 Mysql
Exact output is: ld: fatal: file /opt/sfw/mysql/lib/mysql/.libs/libmysqlclient.so: open failed: No such file or directory ld: fatal: File processing errors. No output written to ..libs/libphp4.so Again, why is it lokking for the MySQL client library in ".libs" ?
Compiling MySQL Results
Does anyone know how to compare multiple results from a MySQL query? For example, I would like to query the database and collect all the results into a variable (perhaps $totalresults). Then, I would like to use a single statement to compare each of the results within $totalresults to the statement's conditions.
Find Timestamp For System Files
I'm trying to write a script that checks to see if certain .php or .html files have been updated within.. say the past 10 days. The script will run when someone visits the webpage. Is there a command in PHP that allows me to get the time stamp of system files? I've thought about ways of doing it... and one way I was thinking was using the "passthru" function to call "ls -l" (a unix command). I would take the output from "passthru" and split it per line basis and then get the proper field of timestamp I need. But this seems a bit excessive. Is there an easy function that does this?
IIS Could Not Find .php File, However It Finds Html Files In The Same Dir
IIS could not find .php file, however it finds html files in the same dir..... http://localhost/test => the default.htm will be hit, no error http://localhost/test/test.php => 404 error not found( it exists in the dir) The security is set ok, something wrong with the php runtime?? Strange because my application on localhost/prog works smooth.........
Find A Max Value In Mysql With Php ?
How do I a max value in mysql with php? I can find a max in mysql with: SELECT MAX(num) FROM codes WHERE num LIKE 'A%' I try to do it in php and it doesn't work - $result = mysql_query("SELECT MAX(num) FROM codes WHERE num LIKE 'A%'" , $link); $row = mysql_fetch_array($result); $num=$row["num"]; this returns $row as Array?
Can't Find MySQL Extensions (PHP As CGI)
install of Apache 2, PHP5 as CGI and MySQL 4 on WinXP. Apache and PHP work fine, MySQL works fine in the command line, but I can't have PHP to find the MySQL extensions. I installed phpMyAdmin, and this is how I found out that PHP didn't find the extensions because I got this error message: "PHP Startup: Unable to load dynamic library 'C:/Arquivos de Programas/PHP5/php_mysql.dll'" I googled for this error message, and I didn't find anything useful because it seems that I don't have an extensions folder (?!) I searched for php_mysql.dll on my computer and I didn't find it. Did I forget to install extensions or something? These are the folders of the PHP installation folder: - sessiondata - uploadtemp And these are the files: - IISConfig.exe - install.txt - license.txt - php5ts.dll - php-cgi.exe It seems to me that there are files or folders missing...
Find Mysql Row In An Array?
I would like to be able to match values from my mysql table to an array. For example: $result = mysql_query('SELECT * FROM db'); while ($row = mysql_fetch_array($result)) { if ($array == $row[id]){ echo "We found your value"} } I realize this isn't a functional example, but basically I would like to match the id value with the same value in the array and if it doesn't exist go to the next row of the mysql. I've tried a few things such as array_filter, with no success. It seems like theres an easy way to do this that I don't know of.
Installed Php-4.3.3RC1 On Suse 8.2
I have installed php-4.3.3RC1 on Suse 8.2, and everything went fine even the make install, but I do not see the new version in yast2 software packages, it still has the old version 4.3.1 any ideas ? is there another step I need to take, how do I check what is really installed ? ps apache is 2.0.46 and mysql is 4.1.0
Trying To Build PHP 4.3.0 With Apache 2.2.2 On SUSE 9.1
Whilst I grep around for the first set of problems, I thought I'd ask any generous members of this PHP community for clues... I've started by trying out the instructions at: http://dan.drydog.com/apache2php.html Got this out of the make: ----------------------------------------------------------------------------------------------- /bin/sh libtool --silent --mode=compile gcc -Isapi/apache2filter/ -I/root/downloads/php-4.3.0/sapi/apache2filter/ -DPHP_ATOM_INC -I/root/downloads/php-4.3.0/include -I/root/downloads/php-4.3.0/main -I/root/downloads/php-4.3.0 -I/usr/local/Apache2/include -I/root/downloads/php-4.3.0/Zend -I/usr/local/include -I/root/downloads/php-4.3.0/ext/xml/expat -I/root/downloads/php-4.3.0/TSRM -g -O2 -prefer-pic -c /root/downloads/php-4.3.0/sapi/apache2filter/sapi_apache2.c -o sapi/apache2filter/sapi_apache2.lo In file included from /usr/local/Apache2/include/apr_strings.h:48, from /root/downloads/php-4.3.0/sapi/apache2filter/sapi_apache2.c:34: /usr/local/Apache2/include/apr.h:270: error: parse error before "apr_off_t" /usr/local/Apache2/include/apr.h:270: warning: data definition has no type or storage class In file included from /root/downloads/php-4.3.0/sapi/apache2filter/sapi_apache2.c:34: /usr/local/Apache2/include/apr_strings.h:297: error: parse error before "apr_off_t" /usr/local/Apache2/include/apr_strings.h:313: error: parse error before '*' token /usr/local/Apache2/include/apr_strings.h:349: error: parse error before "size" In file included from /usr/local/Apache2/include/apr_file_io.h:29, from /usr/local/Apache2/include/apr_network_io.h:26, from /usr/local/Apache2/include/apr_buckets.h:29, from /usr/local/Apache2/include/util_filter.h:26, from /root/downloads/php-4.3.0/sapi/apache2filter/sapi_apache2.c:36: /usr/local/Apache2/include/apr_file_info.h:204: error: parse error before "apr_off_t" /usr/local/Apache2/include/apr_file_info.h:204: warning: no semicolon at end of struct or union /usr/local/Apache2/include/apr_file_info.h:206: warning: data definition has no type or storage class /usr/local/Apache2/include/apr_file_info.h:212: error: `ctime' redeclared as different kind of symbol /usr/include/time.h:254: error: previous declaration of `ctime' /usr/local/Apache2/include/apr_file_info.h:219: error: parse error before '}' token In file included from /usr/local/Apache2/include/apr_network_io.h:26, from /usr/local/Apache2/include/apr_buckets.h:29, from /usr/local/Apache2/include/util_filter.h:26, from /root/downloads/php-4.3.0/sapi/apache2filter/sapi_apache2.c:36: /usr/local/Apache2/include/apr_file_io.h:548: error: parse error before "apr_off_t" /usr/local/Apache2/include/apr_file_io.h:740: error: parse error before "apr_off_t" In file included from /usr/local/Apache2/include/apr_buckets.h:29, from /usr/local/Apache2/include/util_filter.h:26, from /root/downloads/php-4.3.0/sapi/apache2filter/sapi_apache2.c:36: /usr/local/Apache2/include/apr_network_io.h:545: error: parse error before "apr_off_t"
Find Match In MySQL Table
I have a table with several fields (id, company, city, and others). What I think I want to do is to select all the records (ordering by company asc for display purposes) and loop through them to find the requested id, BUT then I need to know the current row that match occurs in the overall list. If I am not mistaken, if I do the match on the 'id' in the table with the id requested, then only that one row will be selected. So then for getting the prev/next links to work off the 'ordered by company asc' order and not just the 'id' sort, I need to know where this particular id matched row is in the overall list.
How To Find The Last Accessed Date Of A MySql Database
How to find out the last accessed date of a MySql Database. I have around 200 databases in my server some are used and some are not in Use, I want to remove the database that are not in Use. SHOW TABLE STATUAS gives me last updated Date. In my case there are some database which are not updated at all, but...
Apache 1.3.27, PHP 4, SuSE 8.2 PRO - Form-Post Failure
I've recently done an upgrade installation to SuSE PRO 8.2 from same/8.0. The problem now is that I don't seem to be receiving data from forms to PHP-processing pages using either POST or GET for the form method. When I use GET, I see that the URL has been correctly formed with the variable name embedded in the URL along with the properly formed value: http://www.whatever.com/test.php?ma...Process+Request Then, in a sample php script: <? print "main: $main<BR/> "; if ($main == "") { print "main is blank<BR/> "; } ?> All I get in the output HTML on the test php script is the "main: " portion of the print command - the variable is reported as a null and tests positive for a null. The php function test() shows mod_php4 is loaded. I have performed/duplicated these results with the firewall on and the firewall off. Not that I think the firewall is an issue since the GET method shows, via the URL, that the variable information is passed across forms. But I did read somewhere that a firewall can impact the POST method so I turned it off to try it - no change in the results. Even tho the info is being passed (GET), it's not accessible by var-name access in the PHP script. All the php scripts on my server are so affected and were working prior to the upgrade. Any ideas? I also suspect this is why my squirrelmail installation stopped working.
Mail() Fails - Php4, Sendmail, Suse
I've spent a couple of days on this and I'm to the "bang-my-head 'gainst the monitor and babble in tongues" mode. First - SuSE Pro 9.3, Linux 2.6.11.4-21.7, Apache 2.0.53, PHP 4.3.10 I have sendmail running on the local server - mail from unix (1) mail and mutt work locally on the server. This is, specifically, sending mail to a localhost user or another user off on the net somewhere works fine. When I try either simple, or complex, mail() functionality via PHP, it silently fails. And, by silently, I mean that there are no error messages in the PHP log (logging of all messages is enabled), sendmail log, or /var/log/messages or /var/log/warnings. The mail() returns a FALSE indicating that the php->sendmail handoff never occurs. I've even tried forcing the return address but that's not working either. Stable applications, like OSCommerce for example, also fail under this configuration. /etc/php.ini is correctly configured and the sendmail_path is defined correctly. As a matter of fact, the results are the same whether or not sendmail_path is implicitly or explicitly configured. Currently: .....
PHP5 And MySQL
I have run through a general set up and many people have. I installed Apache 2 and php5. I changed the php.ini and the apache config files. I have read through other topics that were similiar.I am having problems using the basic commands for MySQL through PHP5 like mysql_connect (). I thinkit has to do with the dll files.
PHP5, MySQL & Libmysql.dll
I'm moving some php/mysql development work from one PC to another. I wanted to use the latest versions of php, MySQL and Apache on the new machine, so I've downloaded the appropriate stuff and installed it. However, I'm getting the old familiar error when starting the server: PHP Startup: Unable to load dynamic library 'c:/php/ext/php_mysql.dll - The specified module could not be found Now I understand that this is because it can't find the libmysql.dll file. The php version 5.1.1. for windows doesn't contain a libmysql.dll file so I assumed that I could use the one in the MySQL distribution (version 5.0.18) but this doesn't work (even when placed in the System32 directory). I'm using Apache 2.0.55 on Windows XP. I've done all the usual stuff: 1). Editing the http.conf file. 2). Setting Windows Path variable to C:/php and C:/php/ext 3). Defining the extension_dir in php.ini 4). Uncommenting the LoadModule line for MySQL, etc... So basically I'm completely stuck. However I was wondering: 1). Why is there not a version of libmysql.dll in php version 5.1.1?. There's a suggestion that you can get one from the 'zip' download. However, this is not correct (at least for 5.1.1. version). Where can I get a 5.1.1. compatible libmysql.dll file?. 2). Is it reasonable for me to use the libmysql.dll file in the MySQL distribution?. 3). And are Apache 2.0.55, MySQL 5.0.18 & PHP 5.1.1 compatible?. If not then this might explain why the MySQL libmysql.dll file doens't work.
Framework For MySQL And PHP5
I'd like to ask you for comments on my LIZ DB framework. LIZ DB is a small framework written in PHP5 based on MySQLi extension. LIZ DB supports: - fetching data in various ways (Select, SelectOne, SelectColumn) - prepare and execute statements (Java like style setParameter(1, $param) etc.) - manage sophisticated transactions - commits, rollbacks, savepoints - prepare and call stored procedures and functions with in, inout, out parameters support - query logging If you'll find some time, please try it out and say what you think of it.
PHP5 With MySQL 4.1 On Apache 2 On Win98
I am in the process of learning php. I am particularly interested in its uses with MySQL. I have Apache 2 and PHP5 both installed and working fine. I pasted a MySQLi example for opening and connecting to a MySQL DB into "hello.php" <?php $mysqli = new mysqli("localhost", "my_user", "my_password", "world"); /* check connection */ if (mysqli_connect_errno()) { printf("Connect failed: %s ", mysqli_connect_error()); exit(); } printf("Host information: %s ", $mysqli->host_info); /* close connection */ $mysqli->close(); ?> For some reason when I get: Fatal error: Class 'mysqli' not found in D:Apache groupApache2htdocshello.php on line 7 I installed PHP in "d:php" and added it to my path in my autoexec.bat. in php.ini: .... extension_dir = "d:phpext" .... extension=php_mysqli.dll I read all the posts at the bottom of the pages on PHP.net website where someone says "I had a problem and I got...yada...yada and did everything each of those posts said you had to do and it still won't work. The only thing left is how PHP needs compiled with a "--with" statement or something like that but I'm using the windows binary so that shouldn't be a problem... Is there some other problem it could be besides a problem with finding a dll or ini?
Extensions And MySQL.dll On WinXP PHP5
I'm hoping someone will give me the latest info here about PHP policy to enable extensions. [Preferably not - "Move them around under C:Windows until it works ..." ] I've installed PHP5 in C:PHP Meaningful excerpts: from php.ini ; Directory in which the loadable extensions (modules) reside. extension_dir = "./" ..... ;extension=php_msql.dll extension=php_mysql.dll TIA for your advice on this.
PHP5, Windows Installer And MySQL
Does the Windows Installer version of PHP5 come with MySQL support? As well, how hard is it to add extensions to the Windows Installer version?
Mysql And Php5 Deleting Rows
I can't seem to delete rows from a mysql database. I have a database that I want to delete rows from based on user name. i have researched this extensively and can't seem to find anything that works.
How To Configure PHP5 To Use MySQL In Windows XP
I use PHP5 in Windows XP Professional with Apache and MySQL installed. I would like to use MySQL. Now, I cannot use mysql_* functions because mysql_connect(...) returns Fatal error: Call to undefined function mysql_connect() PHP is problably not correctly configured to use MySQL.
Trying To Get MySQL, Apache, And Php5 To Play Nice Together
I'm trying to get MySQL, Apache, and Php5 to play nice together in Windows but having problems. I don't want to install those automatic 'all-in-one' packages because I want to know how to do it myself. I think I installed Apache correctly because when I type http://localhost in my browser I see my directory, but echo phpinfo() gets me a blank page. Can someone please point me to a resource that explains how to get php5 working? I put the doc root path in my php.ini to point to C:Program FilesApache GroupApache2htdocs and no go.. Also, am I suppose to put my public_html folder inside of htdocs in tact, or do I empty the contents of my public_html into htdocs?
PHP5 Installation With MySQL, Windows 2000
Why I still have "undefined function error" messages? I included path c:php to my windows env. Edited php.ini file: include directory value. removed comment mark from extension=php_mysql.dll copied libmysql.dll to system32 directory Apache2 runs fine. I can run phpinfo.php I can create a database into the MySQL.
Enable Soap, Mysql PHP5 Windows Xp
I have tried to find a good ref. on how to enable soap and mysql in PHP5 on windows xp but without luck. Can any one take me through the process? I need to enable both soap and mysql I'm not running apache. I need to know how to recomplie my PHP5 on windows xp.
Working Combination Of PHP5, MySQL And OpenSSL
I'm trying to compile php 5.2.0 under FreeBSD 6. If I use the version of OpenSSL that came installed with FreeBSD (0.97a) then it builds okay and then segfaults on make install when it gets to installing pear. I tried building with the latest OpenSSL and that causes make to fail with an error about libmysql.a !! The reason I am building with OpenSSL is because I need to access secure sites (https://) via HTTP_Client and cURL. Without it cURL segfaults when I attempt to access a secure site, and HTTP_Client returns "Malformed response". Does anyone know of a combination of MySQL, PHP5, and OpenSSL that builds, installs, and functions correctly ?
PHP5.05, Mysql4.1, Apache On Windows XP - Cant Get Php To Talk To Mysql
I have read all (ok most) of the posts relating to "Call to undefined function mysql_connect()", read the manual on PHP.net and done eveything thats ive been asked to do but cant get PHP to talk to MySQL, PHP is working fine but I dont get any mysql info when running <? phpinfo() ?> and get the "Call to undefined function mysql_connect()" when trying to connect to mysql through php in browser, please help. 1. I have added C:php; to the end of the environment variable path 2. I have edited my php.ini file to : extension_dir = "c:phpext" extension=php_mysql.dll - removed the ";" ... ive checked i only have 1 php.ini file! 3. The dll "libmysql.dll" is in the folder C:php 4. The dll "php_mysql.dll" is in the folder c:phpext
Header Error Without Whitespace Issue - Cannot Modify Header Information
Error = WARNING: Cannot modify header information - headers already sent by (output started at /home/zoneof5/public_html/inde x-dev.html:10) in line 1528 of file common.inc.php Which comes from me trying to take a login script and put it into an existing .html file with .htaccess configured to parse php scripts....
Compiling PHP With VC++7...
Since I would like to compile PHP with EAPI under win32, is it possible to compile PHP with Visual Studio .NET (VC 7)?
Help Compiling PHP
I am trying to compile the source for PHP but when I run to the ./configure command it works for a little bit then tells me that the command lex is no valid. Then is says it is giving up. I have no idea what lex is, where I can get it, or what it's purpose it.
Fun With Compiling PHP 5.1 (help)
Alright, I'm trying to compile PHP 5.1 with the following options: ../configure --with-openssl --with-zlib --with-bz2 --enable-bcmath --enable-calendar --enable-mbstring --with-mcrypt --with-mhash --with-mysqli --with-mysql --enable-embedded-mysqli --disable-pdo --with-pgsql --with-pspell So far I've been able to get all dependencies and whatnot up to the MySQL area. The last error I get with it is: checking for MySQL support... yes checking for specified location of the MySQL UNIX socket... no checking for MySQL UNIX socket location... no checking for mysql_close in -lmysqlclient... yes checking for MySQLi support... yes checking whether to enable embedded MySQLi support... yes checking for mysql_set_server_option in -lmysqlclient... no configure: error: wrong mysql library version or lib not found. Check config.log for more information. Any ideas? I have the MySQL 4.1 libraries and server and whatnot, and I can't install (or use) the 4.0 libraries due to whatever reason they don't allow that to work.
Compiling PHP 5.1.2 On RH9
I'm trying to compile php 5.1.2 under RH9 system, with apache 2.0 installed. Configuration process goes fine, `make` process goes fine as well with some warning, but when I'm trying to do `make install` I got a message Installing PEAR environment: /usr/local/php/lib/php/ make[1]: *** [install-pear-installer] Segmentation fault make: *** [install-pear] Error 2 How can I investigate due to what module this error comes or what is the reason of this error? Any help is very appreciated. BTW, is it good thing upgrade Apache 2.0.xx to 2.2 ?
Compiling PHP
Does anyone know of a tool that CAN actually compile PHP?? I tried deskcode.com 's PHP Compiler, but It didnt work.
Compiling PHP 5.1.2
I'm having trouble compiling PHP 5.1.2 on Kubuntu Breezy. I've downloaded PHP 5.1.2, and when I configure, it gives me an error about libxml2. I am trying to install PHP as a CGI/CLI. The relavent part: # ./configure -- snip -- Configuring extensions checking whether to enable LIBXML support... yes checking libxml2 install dir... no checking for xml2-config path... configure: error: xml2-config not found. Please check your libxml2 installation. I have installed libxml2, and it is updated to the latest. # apt-get install libxml2 Reading package lists... Done Building dependency tree... Done libxml2 is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Problem Setting A Received Header Using Header ()
I am reposting this as it wasn't very clear last time - and i still haven't made any progress with the code... i am sending a header(1) to page.html from sender.php using a socket connection. I would then like to read that page's response, and set that response as a header for sender.php (header2- parsed from the response of page.html in order to set any cookies etc.... that page.html might want to set) Whilst i have no trouble sending header(1) and retrieving the response, I don't seem to be able to set header(2) as a new header for sender.php or for any other page- I get a message from IE saying "the requested header has not been found on this site". Right now I am using the header () to set that header, as in the following code:
Still Not Compiling Jpeg With Gd
I am building on Linux Redhat 7.1 First I build GD with information about zlib/jpeg/png/freetype directories thanks to some advise on another post, I tested the build nm libgd.a | grep gdImageCreateFromJpeg 0000040c T gdImageCreateFromJpeg 00000438 T gdImageCreateFromJpegCtx nm libgd.a | grep gdImageCreateFromPng U gdImageCreateFromPngCtx 00000030 T gdImageCreateFromPngSource 000000cc T gdImageCreateFromPng 000000f8 T gdImageCreateFromPngCtx OK - I think that GD is functioning with the above. So now build php ------------------------------------------ ./configure --with-mysql=/usr/local/mysql --with-pgsql=/usr/local/pgsql --with-apache=../apache_1.3.23 --with-pdflib=/usr/local/pdflib --with-zlib=/usr --with-gd=/usr --enable-gd-native-ttf --with-jpeg-dir=/usr --with-png-dir=/usr --with-freetype-dir=/usr --with-ttf --with-xml --enable-ftp --with-openssl --with-pear ------------------------------------------- This is where I identify the problem etc .... ------------------------------------------- checking whether to include GD support... yes checking whether to enable truetype string function in gd... yes checking for the location of libjpeg... yes checking for jpeg_read_header in -ljpeg... (cached) yes checking for the location of libpng... yes checking for png_info_init in -lpng... (cached) yes checking for the location of libXpm... no If configure fails try --with-xpm-dir=<DIR> checking for freetype(2)... yes checking whether to include include FreeType 1.x support... yes no - FreeType 2.x is to be used instead checking whether to include T1lib support... no checking for gdImageString16 in -lgd... (cached) yes checking for gdImagePaletteCopy in -lgd... (cached) yes checking for gdImageCreateFromPng in -lgd... (cached) no checking for gdImageCreateFromGif in -lgd... (cached) no checking for gdImageGif in -lgd... (cached) no checking for gdImageWBMP in -lgd... (cached) yes checking for gdImageCreateFromJpeg in -lgd... (cached) no checking for gdImageCreateFromXpm in -lgd... (cached) yes checking for gdImageCreateFromGd2 in -lgd... (cached) yes checking for gdImageCreateTrueColor in -lgd... (cached) no ----------------------------------------- so for those who have not skimmed over the above, you can see that while the headers were identified, the functions gdImageCreateFromJpeg and gdImageCreateFromPng were not found in the gd library, even though they are there and were found manually previously.
Compiling Java With Php?
If my server has Java, can I somehow use PHP to compile or tell the system to compile some java source files on the server (unix)?
Compiling The Modules
I'm having a lot of difficulty with compiling the modules for PHP, In fact I don't know where to start, you see Im pretty good at script type languages like PHP and Perl but when it comes to 'C' I have zero experience. I would really like to learn how to do this but would also find it useful to have the precompiled DLLs (windows NT).
|