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 Complete Forum Thread with Replies
Related Forum Messages:
- Apache 1.3.14, PHP 4.0, MYSQL And Win98
- Installation Of Php/apache/mysql On Win98
- Win98 + Apache 1.3.up + PHP 4.3.up Something Wrong
- Win98 Apache And Php Install Not Wokring.
- Win98, Apache & Php4.3 Installation
- Apache Mysql Php5
- Apache/ Win XP Home/ PHP5/ MySQL
- 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
- 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
- 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
- Win98 And PHP
- Stand Alone Win98?
- PHP4+Win98 And Sessions
- PHP4 Installation Win98 + PWS
- File Permissions In Win98
- Start Up / Shutdown Mysqld In Win98
- Cannot Load Imap Extension In Win98
- I Can't Get Info.php Working On PWS Win98 The Page Cannot Be Displayed
- 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
Apache 1.3.14, PHP 4.0, MYSQL And Win98
I have installed and working Apache and php 4.0. I would like to get mysql working too. I ran the phpinfo file using PHP 4.0 and I did not get the MYSQL extensions in the resulting table. I subsequently - after changing my http.conf file - ran the phpinfo file using PHP 3.0.16 and got the MYSQL extension showing up in the table. Why isn't the mysql extensions showing up under PHP 4.0?
View Replies !
Installation Of Php/apache/mysql On Win98
I'm using an old computer - Win 98. I'd like to install php/apache/mySql on it but there are many versions and some do not recommend installing on Win98. If somebody could point me in the right directions about which versions of apache, mySql and PHp - or if there is a package suitable for Win98 that would be great.
View Replies !
Win98 + Apache 1.3.up + PHP 4.3.up Something Wrong
I been first times setup. So Who have experience the Win98 + Apache + php (not run PWS or IIS) I begin download and installed the Apache. I test the run is working on browser (http://localhost) show the apache page. But Apache Console Running under the DOS Window say :- ===================================== [Thu Nov 20 15:13:49 2003] [warn] (2)No such file or directory: exec() may not be safe Apache/1.3.29 (Win32) running... ===================================== I expect that it. So, I shall the php installer from download. I try changed the httpd.conf under the Apache directory. Restart Apaches Console. I testing the (http://localhost/test.php), show error page say "HTTP - Error 400 Bad Request" also "HTTP - Error 404 Not found" I have tried times.... But unknown.... Apaches Directory - c:apacheapaches*.* PHP Directory - c:apacheapachesphpwin32*.* httd.conf -: (was add the line) ScriptAlias /php/ "C:/Apache/Apache/phpwin32/" AddType application/x-httpd-php .php AddType application/x-httpd-php .phtml Action application/x-httpd-php "/php.exe" I didn't change php.ini yet I copy and paste the "php4ts.dll" under to C:windowsystem from PHP What I have done that above ?
View Replies !
Win98 Apache And Php Install Not Wokring.
I have installed the latest Apache and PHP binaries (the PHP CGI executable release - not the ISAPI). I then configured the httpd.conf sciprt using the install.txt file from the PHP install and 2 reference books as guides. This got me to the point where I BELIEVE the PHP interpretor is kicking in for .php scripts. But when I try and browse the following page : <? php_info() ?> I get the following error : Fatal error: Call to undefined function: php_info() in e:/apache/htdocs/phptest.php on line 1 Code:
View Replies !
Win98, Apache & Php4.3 Installation
I tried to install php as apache module. Previously it has been cgi. WIn 98 is not supported but cgi worked fine, anyway. I tried to everything according to instructions in php.net, but still it didn't work. - I put php4ts.dll to windows/system32 directory. - I configured http.conf: - I used the path where I had put php download (PHP 4.3.3 zip package [6,180Kb]). - I commented these three lines that were for the CGI-install: # ScriptAlias /php/ "c:/php/" # AddType application/x-httpd-php .php # Action application/x-httpd-php "/php/php.exe" But Apache didn't start. It died because of this line: LoadModule php4_module "c:/HERE_WAS_MYPATH/sapi/php4apache2.dll" http://fi2.php.net/manual/en/install.apache2.php If you would like to use PHP as a module in Apache 2.0, be sure to move php4ts.dll for PHP 4, or php5ts.dll for PHP 5, to winnt/system32 (for Windows NT/2000) or windows/system32 (for Windows XP), overwriting any older file. You need to insert these two lines to your Apache httpd.conf configuration file to set up the PHP-Module for Apache 2.0: Example 3-8. PHP and Apache 2.0 as Module ; For PHP 4 do something like this: LoadModule php4_module "c:/php/sapi/php4apache2.dll" AddType application/x-httpd-php .php ; For PHP 5 do something like this: LoadModule php5_module "c:/php/sapi/php5apache2.dll" AddType application/x-httpd-php .php Note: Remember to substitute the c:/php/ for your actual path to PHP in the above examples. Take care to use either php4apache2.dll or php5apache2.dll in your LoadModule directive and notphp4apache.dll or php5apache.dll as the latter ones are designed to run with Apache 1.3.x. Warning Don't mix up your installation with dll files from different PHP versions . You have the only choice to use the dll's and extensions that ship with your downloaded PHP version.
View Replies !
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 !
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 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 !
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 !
Win98 And PHP
I have windows 98 and I would like to run PHP, I have PWS to run ASP but I would like to work towards javascript. I would work with ASP and VBScript but the problem is that I only have VB2005 EX ED. I got no books for VB at my home, but I have books on C++, Java, C#, Javascript, and much more.
View Replies !
Stand Alone Win98?
how would i get php running with mysql on a windows 98 machine with out a server so that i could test my scripts after i create them.?
View Replies !
PHP4+Win98 And Sessions
I've tried PHP4build4, RC1, RC2 and 4.0.0 with Win98 but sessions doesn't work: I've got 2 pages: first_page.php3 <? session_start(); $myvar="test"; session_register("myvar");?> second_page.php3 <? session_start(); echo $myvar; ?> I've launched first_page.php3, then I've launched second_page.php3: the browser doesn't display anything (it should display the world "test").
View Replies !
PHP4 Installation Win98 + PWS
I can't get to work php4 on my windows machine,l i have tryed all the things that came in the documentation and it doesn't work.The error that I recieve trying to run a php is HTTP 500 Internal Server Error.
View Replies !
File Permissions In Win98
I just wanted to know if there was any way I could change my file permissions so I can use the fopen function in windows 98 using Apache and PHP 4.04???? I know how to do it for Linux but I need it for Win 98.
View Replies !
Start Up / Shutdown Mysqld In Win98
I can start the mysqld fine by running the following command: C:mysqlbinmysqld --standalone and I can shut it down fine with the following command: c:mysqlbinmysqladmin shutdown But does anybody know how to set this up in win98 so that it will automatically startup mysqld on startup, and automatically shut it down on shutdown/restart?
View Replies !
Cannot Load Imap Extension In Win98
I removed the ; before "extension=php_imap.dll" in php.ini, and when I start Apache 1.3 I get the following error message: Unknown():Unable to load dynamic library 'c:phpextensionsphp_imap.dll". Uno de los dispositivos vinculados al sistema no funciona (Translation: one of the devices attached to the system doesn't work). I already checked the extension_dir directive, and copied php_imap.dll to c:windows just in case. I am using Windows98 SE with php 4.3.3 as module in Apache 1.3
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 !
|