Apache/ Win XP Home/ PHP5/ MySQL
I can get PHP5 running on Apache 2 installed on Windows XP Home Edition. Now I want to add MySQL4 to the package. I installed it but I'm not sure what to do now. My PHP5 scripts are running fine. The MySQL server seems to be running though actually I'm not sure. When I write
$link = mysql_connect("localhost", "mysql");
I get the PHP5 error message
"Call to undefined function mysql_connect()"
Can anyone help?
View Complete Forum Thread with Replies
Related Forum Messages:
- Apache Mysql Php5
- PHP5 With MySQL 4.1 On Apache 2 On Win98
- Trying To Get MySQL, Apache, And Php5 To Play Nice Together
- PHP5.05, Mysql4.1, Apache On Windows XP - Cant Get Php To Talk To Mysql
- Socket Programming In PHP On A XP Home SP2 Box With Apache 2.0.58 / PHP 5.1.4.
- Apache Set Up On Microsoft XP Home Edition
- Installing Apache For The First Time On Home Machine
- Use Apache And PHP5 - How?
- PHP5 From Apache
- Apache 1.3, PHP5
- PHP5 On Apache 2
- Php5 Apache Error
- Install PHP5, Apache 2.2 And IIS
- Installing PHP5 On APACHE 2.2.x
- Apache Hangs With PHP5
- Net-snmp + Php5 Apache Module
- Install PHP5 And Apache 2.2.2 (Linux)
- Apache 2.0 W/PHP4; W/PHP5 Cohabitate
- Warning: Mysql_connect(): Can't Connect To Local MySQL Server Through Socket '/tmp/mysql.sock' (2) In /home/custcare/dbconn.inc On Line 2
- Install Php4 And Php5 At The Same Time To Apache
- Installing Php4 And Php5 On Same Apache Server
- Installing And Running Apache 2.0.46 / Php5.0.0b1 / Suse Linux 8.2
- What Are The Pros/cons/issues For PHP4/PHP5 With Apache (either 1.3 Or 2).
- Install Php5 On A SuSE 9.3 Linux System Running Apache 2.0.49
- Mysql 5.0.22, Php 5.1.4, And Phpmyadmin On Apache2 On Windows XP Home
- Warning: Mysql_fetch_array(): Supplied Argument Is Not A Valid MySQL Result Resource In /home/scaspco/public_html/testing/reviews.php On Line 41
- Warning: Mysql_fetch_row(): Supplied Argument Is Not A Valid MySQL Result Resource In /home/dyingtwi/public_html/functions/matchdb.php On Line 61
- Warning: Mysql_fetch_array(): Supplied Argument Is Not A Valid MySQL Result Resource In /home/szauerne/public_html/sites/yourcapecoral/wizard/listings.php On Line 364.
- Warning: Session_start() [function.session-start]: Cannot Send Session Cache Limiter - Headers Already Sent (output Started At /home/user/public_html/index.php:8) In /home/user/public_html/nmdeluxe/index.php On Line 2
- Warning: Session_start() [function.session-start]: Cannot Send Session Cookie - Headers Already Sent By (output Started At /home/comm/public_html/local_dynamic/br.php:6) In /home/comm/public_html/local_dynamic/br.php On Line 168
- Warning: Cannot Send Session Cookie - Headers Already Sent By (output Started At /home/hkia/public_html/09archive/list1.php:11) In /home/hkia/public_html/09archive/list1.php On Line 53
- Php5 With MySql
- PHP5 And Mysql On XP
- MySQL And PHP5.1.2
- PHP5, MySQL & Libmysql.dll
- Framework For MySQL And PHP5
- Php5-mysql-ajax
- Php5 Connect To Mysql 5
- 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
- How SQLite Compares To MySQL In PHP5.
- Upgrade To Php5 On Windows Xp On IIS 5.1 With MySQL
- Using The Basic Commands For MySQL Through PHP5 Like Mysql_connect ()
- PHP5 Installation With MySQL, Windows 2000
- Enable Soap, Mysql PHP5 Windows Xp
- Working Combination Of PHP5, MySQL And OpenSSL
- Migrating To PHP5 - Handling The Change Of Mysql Functions
- Apache2+PHP5+mySQL Leads To Blank Screen
- Cannot Find MySQL Header Files Under - Compiling PHP5 (Suse 9.0)
- PHP/MySQL/Apache
Apache Mysql Php5
I've managed to install, config, and make operable an Apache server, mysql, php5, ZendOptimizer, and phpMyAdmin on my WinXp comp. The problem is that when I install a script such as a cms or topsite they fail to run. I want to be able to run and test scripts on localhost before uploading to www.server I've installed such scripts on *nix based web servers without problem. I researched and found that chmod should not be an issue on windows so all the files/folders should have read/write access. I,m completly stumped. These scripts that I've attempted to run on my test server go through thier entire install process creating tables and such untill complete. I point to the folder/index.php and nothing.
View Replies !
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?
View Replies !
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?
View Replies !
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
View Replies !
Socket Programming In PHP On A XP Home SP2 Box With Apache 2.0.58 / PHP 5.1.4.
I'm trying to familiarise myself with socket programming in PHP on a XP Home SP2 box with Apache 2.0.58 / PHP 5.1.4. I've ran a few basic scripts now which I accessed through a telnet session. The purpose of these scripts is to simply return the input I type. They all pretty much have the same routine as shown below: do { // read client input $input = socket_read($spawn, 1024, PHP_NORMAL_READ) or die("Could not read input "); if (trim($input) != "") { echo "Received input: $input "; // if client requests session end if (trim($input) == "END") { // close the child socket // break out of loop socket_close($spawn); break; } // otherwise... else { // reverse client input and send back $output = strrev($input) . " "; socket_write($spawn, $output . "? ", strlen (($output)+3)) or die("Could not write output "); echo "Sent output: " . trim($output) . " "; } } } while (true); -- end code snippet -- Now, I read that the PHP_NORMAL_READ argument to socket_read() is buggy. This seems to be true for my configuration as well. When ommitting this argument the server seems to run fine except for 1 thing: The server returns every single character I type immediately, thus refusing to accept the 'END' request for instance. I would like to let the server return my input only when I have hit enter. The PHP manual seems to tell me that that is just exactly what the PHP_NORMAL_READ argument is supposed to accomplish. Is this true? And if so, is there a workaround for this? My goal is to write a low-end game server communicating with a flash client. I could imagine that in that case this isn't so much of an issue anymore since this client will probably send a whole 'command' string at a time. Is this a correct assumption?
View Replies !
Apache Set Up On Microsoft XP Home Edition
I'm trying to install php/mysql and apache server on my PC. It's operating system is Microsoft XP home edition. I've downloaded and installed the files and made some changes i.e. renamed a file to php.ini and added some lines to the httpd.conf file. However when I try to view php in http://localhost it's advising that the page cannot be displayed. Is this to do with browser settings? Has anyone come across any similar problems? If so what did you do to get around the problem?
View Replies !
PHP5 From Apache
This might have been covered in this forum before, but the search strings I tried didn't turn up a solution. I've been developing an application at home using PHP5 on Linux. I brought the project into work to test it on the school's internal iMac Webserver running OS 10.4 and PHP5. The CLI application is crashing with an . Code: "Parse error: parse error, expecting `T_OLD_FUNCTION' or `T_FUNCTION' or `T_VAR' " error message everytime it hits a class file with a private or public keyword in front of a class property or method. (I switched the load order of the class files to confirm that it was crashing over private and public. The phpinfo.php web page showed me I was running PHP Version 5.2.1; however, on a hunch, I typed php -ver at the command line and discovered I also had PHP 4.4.7 (cli) installed. I tracked down PHP5's location and was able to execute my program typing /usr/local/php5/bin/php main.php.
View Replies !
Apache 1.3, PHP5
I've looked at so many variations on what I might try to solve the failure of pspinfo() to execute when called by a simple test.php file that I'm now lost. My Apache server runs OK. I'm running under XP. I have folowed the steps given in the book 'PHP and Mysql 'but I'm clearly missing something in php.ini or httpd.conf Where does the phpinfo() function reside? Why can't I find it in my PC?
View Replies !
PHP5 On Apache 2
I have tried to install mod_PHP5 on freebsd where I had installed apache 2. It throws as error indicating mod_php5 needs apache 1.3. I am a newbie, shoudl I just run Apache 1.3 rather than trying to run the latest Apache.
View Replies !
Php5 Apache Error
I just installed on a new machine windows server 2003 and installed apache 2.2 on it and then unzip the php 5.1 files in c:php5 then added the load module php5_module line in httpd conf file copied the php5ts.dll to system32 and also in apache bin but when i start apache it keeps giving me error php5apache2.dll module not found if i remove this line from apache it works fine and apache starts but if i add this line it does not start can anybody suggest how to fix the problem why cant apache find the file php5apache2.dll the path is correct.
View Replies !
Install PHP5, Apache 2.2 And IIS
The book that I have talks you through the setup of both Apache and PHP. I allready have IIS installed. when I go to localhost:8080 I get an unable to find page come up. I have checked the error log and I get the following; [Wed Jan 31 13:28:58 2007] [error] [client 127.0.0.1] File does not exist: C:/Program Files/Apache Software Foundation/Apache2.2/htdocs/favicon.ico I have checked for the file on my system and it is indeed not there. But surely not having a favicon is not a reason to shut it down?? If so I have downoloaded the latest full packages today, so seems a little strange that it is missing.
View Replies !
Installing PHP5 On APACHE 2.2.x
I'm trying to do a new install of PHP5 on Apache 2.2.x and i'm running into a serious snag. It wont load anything! after it's installed, I've checked my configure files and then load it. When i open a page i get nothing. just blank pages no matter what. Then if i turn on the startup error reporting i get errors galore telling me that *.dll's could not be loaded. I've checked my paths, and checked my sources, permissions and everything. The files are there.
View Replies !
Apache Hangs With PHP5
We have installed PHP 5.0.1 on a Windows 2003 Server with IIS6 in ISAPI mode. The processing of .php files works fine with our basis version of the php.ini file. But, as soon as we edit the php.ini file to outcomment the line "extension=php_sybase_ct.dll" (or "extension=php_pdf.dll") and restart the IIS6, the web site is not able to work with .php files properly, instead the web server seems to hang with any .php file.
View Replies !
Net-snmp + Php5 Apache Module
I've recently built a new server on which I've tried to configure and install PHP5 (I've now tried 5.0.4, 5.0.5, and 5.1.0RC1) along with Apache 1.3.33 and net-snmp 5.2.1.2. (Building PHP5 as an Apache module) Everything compiles just fine, but when I try to call any of the SNMP functions (i.e. snmpget) from a PHP script on a web page, I get the following error: Warning: snmpget() [function.snmpget]: Could not open snmp connection: Unknown host in /var/www/test.php on line 5 However, I can execute the same script (which just consists of a simple snmpget) from the CLI and it works just fine. It also works fine if I execute from Apache as a CGI. If I build the same configuration with PHP 4.4.0, everything works fine from within the Apache module. I've tried executing all of this from the CLI as the Apache user as well and it does not seem to make any difference. Has anyone else encountered this issue? Any ideas about what I could try to fix it?
View Replies !
Install PHP5 And Apache 2.2.2 (Linux)
I'm running into the same problem that no doubt many are. I'm installing PHP 5.1.4 and Apache 2.2.2 on the same server, but Apache won't recognize the PHP module, saying it's garbled. I understand from reading various bug reports that PHP will release this option come 5.2.0, but I want to know if anybody has PHP 5.1.4 and Apache 2.2.2 working under Linux yet.
View Replies !
Apache 2.0 W/PHP4; W/PHP5 Cohabitate
Apache 2.0 is currently installed to support an application using PHP4. I do not have PHP4 development environment installed. I want to install PHP5 for a learning session. The httd.conf file in Apache has the following entry: LoadModule php4_module "C:/Program Files/ktdms/php/sapi/php4apache2.dll" AddType application/x-httpd-php .php PHPIniDir "C:/Program Files/ktdms/php" <Directory "C:/Program Files/ktdms/knowledgeTree"> The install process for PHP5 application instructs the following insertion in httd.conf: # For PHP 5 do something like this: LoadModule php5_module "c:/php/php5apache2.dll" AddType application/x-httpd-php .php # configure the path to php.ini PHPIniDir "C:/php" Will this work without conflict? Can I install PHP5 development environment using Apache 2.0 while another application is using Apache 2.0 with PHP4?
View Replies !
Install Php4 And Php5 At The Same Time To Apache
Here is some note about installation together php4 and php5 on apache2. First you need is to edit with the help of hex editor php4apache2.dll (in my case, or php5apache2.dll) in php4 directory. You find "x-httpd-php" and replace with "x-httpd-plc" e.g. (I found 2 matches) Save your dll file and edit your apache config (httpd.conf) e.g. like: Code:
View Replies !
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
View Replies !
Install Php5 On A SuSE 9.3 Linux System Running Apache 2.0.49
I am trying to install php5 on a SuSE 9.3 Linux system running apache 2.0.49. For some reason,when attempting to restart the server,I get the following error: "Syntax error on line 26 of /etc/apache2/sysconfig.d/loadmodule.conf: Cannot load /usr/lib64/apache2-prefork/libphp5.so into server: /usr/lib64/apache2-prefork/libphp5.so: undefined symbol: php_session_create_id" Does anyone know what is causing this error,or what I can do to correct it?
View Replies !
Mysql 5.0.22, Php 5.1.4, And Phpmyadmin On Apache2 On Windows XP Home
I installed Apache 2.0.58, tested it, got the "working" page. Installed MySQL 5.0.22, and didn't really see how to test that, but there is a mysql process running in the task manager. Ran through the PHP 5.1.4 installation directions, and that seems to work, since I can use phpinfo() and get all the information on a test php page. Then I installed (really just unzipped and placed some files according to the directions) PHPMyAdmin; did the configuration, ran through their setup script, and that all seemed to go OK. However, when attempting to open the index.php in the PHPMyAdmin folder, it says it couldn't open the mysqli connection (also tried setting it to mysql in the config, but same message). I then searched the groups and saw the big uproar that php 5 as a windows installer package did not include mysql support the way previous versions did. Some posts said the only option was to compile it myself w/ mysql support, or wait for a dll to be made. However, all these posts were from 2003 - 2005. I also searched online documentation at php.net, but could find no successful searches for adding mysql support to php 5. Can anyone tell me if there's a way to get phpmyadmin and mysql working on this Windows XP Home machine running Apache2? Do I need to downgrade versions of something, or can I somehow add some lines to my PHP files and put a dll somewhere? Secondary question: I notice that I have a php.ini file in the Windows directory, and that's the one showing in the phpinfo() info as well. But the main PHP folder is in c/PHP, and the ini_recommended and all that is in there. Did I screw up the PHP install? Meaning, should the php.ini file be in the php folder instead of the Windows folder?
View Replies !
Php5 With MySql
i was using mySQL with php i have updated my php to php 5 but now i am getting an error like this: Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'ODBC'@'localhost' (using password: NO) in C:Typo3htdocsMyfile.php on line 3 Connection failed. ............ But when i stop new mySql and start my old mySql every thing os ok.
View Replies !
PHP5 And Mysql On XP
Just downloaded an evaluation version of ZendStudio and like everything about it. except that it does not support mysql when debugging under a PHP5 environment.
View Replies !
MySQL And PHP5.1.2
I've just moved to 5.1.2 from 5.0.5 and I'm getting these warnings for each and every query: PHP Notice: Object of class DB_result could not be converted to int in /opt/csw/php5/lib/php/DB/mysql.php on line 980 PHP Notice: Object of class DB_result could not be converted to int in /opt/csw/php5/lib/php/DB/mysql.php on line 983.
View Replies !
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.
View Replies !
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.
View Replies !
Php5-mysql-ajax
I have a database that stores all the ip addresses of the machines on my network. I would like the user to be able to start typing in the ip address and have ajax autofill the field with choices from a mysql db as the user continues to type in the ip address.
View Replies !
Php5 Connect To Mysql 5
I've installed php5 manually on my PC having win XP sp2 and I am using IIS 5.1 I've also installed mysql 5.0. I've been able to create database and table in mysqlBut when I connect using my php script. i got the following error: fatal error: call to undefined function mysql_connect(). I've done the following things: 1) I check out the /ext folder and I found both php_mysql.dll and php_mysqli.dll 2) I check out the php.ini where i uncomment the part extension=php_mysql.dll and as well extension=php_mysqli.dll 3) I save the file But I got the same error again.
View Replies !
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.
View Replies !
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.
View Replies !
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.
View Replies !
How SQLite Compares To MySQL In PHP5.
I would like to know if anybody has experiences with how SQLite compares to MySQL in PHP5. Let's say I have a table with 100,000 records. This is medium-sized, I guess, nothing large, but that's about what I need the most currently. Would going for SQLite be a bad idea for this size?
View Replies !
Upgrade To Php5 On Windows Xp On IIS 5.1 With MySQL
I am finally ready to upgrade to php 5 from php 4 but I am so so scared. I have not upgraded my php since i first installed back in 2003 and i really cannot remember how i did it. I am using window xp and i am currently using IIS 5.1 as my server. What has been putting me off for so long are all the variables that I'm worried that i don't remember. I've heard of a thing called XAMP which is supposed to have everything bundled to make for a easy install, but i'm not sure if this is the right step to take. But then on the other hand I'm way to nervous to try and do the upgrade myself. I've looked through loads of tutorials but now i'm confused as i'm not sure whether they all apply to what i currently have running. If i am currently running php v4.3.7 on windows xp on IIS 5.1 with MySQL ( not too sure of the version ) what is the best and least complicated way for me to upgrade?
View Replies !
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.
View Replies !
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.
View Replies !
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 ?
View Replies !
Apache2+PHP5+mySQL Leads To Blank Screen
I'm running Apache2 together with the php and mysql modules on an opensuse 10.1 machine. Most scripts run well, I can connect and query databases without any problems. But some well known scripts like phpMyAdmin or Nucleus fail. When accessing a database or table (I don't really know when PHP crashes) PHP just returns a blank screen (HTML source code is blank as well). Code:
View Replies !
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 Replies !
PHP/MySQL/Apache
I got PHP MySQL and Apache all running on my local development machine, and have now written some useful code that runs fine locally. The problem is that now i have to make it work on the companies server, or my supervisor will look a bit dumb, as will I. What i need help with is what to do to make php which is on the same server, talk to MySQL and fetch/write the data it needs to. Could anyone give me idiot-proof help with making this work? From looking at other posts and some literature i have made a guess that its to do with the part where i go: <? mysql_connect ('localhost', 'user', 'password'); mysql_select_db (dbname); ?> But i'm not sure a: what to change the localhost to when its on the server. and b: if i need to make changes to any other files, especially server files.
View Replies !
|