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?
Thanks for any help and/or advice; I am a complete newb, normally an asp and
Access guy (and no expert at that) trying to learn the MySQL/PHP way of
things.
Thanks for reading 5 3356
NewbieSupreme wrote: 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? Thanks for any help and/or advice; I am a complete newb, normally an asp and Access guy (and no expert at that) trying to learn the MySQL/PHP way of things.
Thanks for reading
Why not just install XAMPP and get an immediate working system?
"NewbieSupr eme" <ne***********@ yahoo.com> wrote in message
news:d9******** *************** *******@comcast .com... 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?
Thanks for any help and/or advice; I am a complete newb, normally an asp
and Access guy (and no expert at that) trying to learn the MySQL/PHP way of things.
Thanks for reading
Hi,
Or you could also try apache2triad, which is also a complete instalation http://apache2triad.net/
Robert
NewbieSupreme wrote: 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?
Thanks for any help and/or advice; I am a complete newb, normally an asp and Access guy (and no expert at that) trying to learn the MySQL/PHP way of things.
Thanks for reading
Well, if phpinfo() is showing the php.ini in your windows directory as being
active, then that's the one that's active. Try changing that one. There's a
registry entry to tell you which php.ini to use - but I never remember or worry
about it. I just use the one in c:\windows (it doesn't get overlaid during the
next install, either).
I've run several versions of PHP 5 here on Windows (currently at 5.1.2) and all
work with MySQL just fine.
BTW, I tried xamp. It worked OK. But I like more control over my setup. So I
installed all from scratch. Once you've done it a couple of times it isn't
hard. But that first time is a real bear. And I'll be repeating that process on
a brand new customer VPS later today. Planning on a couple of hours to install
and configure IIS, Apache (different ports), PHP, MySQL, Perl and about 4 web apps.
--
=============== ===
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp. js*******@attgl obal.net
=============== ===
On 2006-06-14, NewbieSupreme <ne***********@ yahoo.com> wrote: 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.
Ran through the php5.1.4 installation? Afaik, the installer doesn't come
with modules for mysqli etc.. I think the zip package is what you need.
And read through the INSTALL.TXT that comes with it.
First configure a PHPRC environment variable, eg: C:\Program
Files\php-5.1.4-Win32 (php will look in this directory for a php.ini
file)
All your httpd.conf needs are the following lines:
LoadModule php5_module "C:/Program Files/php-5.1.4-Win32/php5apache2.dll "
AddType application/x-httpd-php .php
And make sure to uncomment the line(s) where the mysql and mysqli
extensions are loaded in the php.ini file.
In my experience, it may be possible that you also have to make sure
that the mysql/bin directory is in your path.
--
Met vriendelijke groeten,
Tim Van Wassenhove <http://timvw.madoka.be >
The best way to install Apache, PHP (with PEAR), mySQL, Perl (even
Python!), CVS (with ssh keys!) and SSH is...
web.torres.ws/walters_way
* Takes a little time to set up.
* Takes very little time to back-up
* Take even less time to restore!
* Gives you a real good understanding of how all this fits together
* Gives you virtual hosts
* PHP with PEAR
* Perl with CPAN
* Python, if you care
* command line CVS
* command line ssh/2
* CVS via SH keys to sourcesforge (if you care)
* mySQL
* phpMyAdmin is a drop in after all this
* many scripts and PHP apps (ex: Joomla) are drop ins!
And best of all!
* Nothing!!! in WINDOWS folder
* Nothing!!! in registry!
* and I mean NOTHING!
* OK, maybe if you count the ENV VARS you have to create
This sysem works on all Windows based OS's and Servers from 98 up!
Walter This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Kevin |
last post by:
I posted this to the sourceforge phpMyAdmin ng, but there was a comment
that it was properly a php question, so I'm posting it here.
I'm on Windows XP, and have just installed Apache, php 5, and
phpMyadmin from zipped binaries. The only thing irregular thing I’m
conscious of doing is unpack phpMyadmin, files and directories,
directly into...
|
by: Ryan Schefke |
last post by:
------=_NextPart_000_0077_01C34C8B.2B90C960
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit
..I just sent this out to the win32 distribution list but no one has
replied.can someone on this list please help? The issue should be
trivial for experienced MySQL users, I'm just a novice, thanks!
|
by: TonyB |
last post by:
I'm running the zip'd version of PHP (PHP 5.1.2 zip package) downloaded
from here: http://www.php.net/downloads.php. PHP won't connect with
MySQL.
>From docs and threads, it seems enabling PHP/MySQL connectivity on a
Windows XP machine requires three configuration edits. These are:
1. In php.ini, enable php_mysql.dll by uncommenting...
|
by: Howard |
last post by:
I have Apache Web Server 2.0.55 installed locally with MySQL 5.0.18-nt, and
of course PHP 5.1.2
I also have installed phpMyAdmin. It is accessible through
http://localhost/phpMyAdmin.
The pathing for directories is
C:\Apache\Apache2\htdocs-root folder for Dreamweaver 6.0 otherwise know as
MX 2004 I think.
C:\mysql, C:\mysql\data-databases...
|
by: news.telia.net |
last post by:
Hi!
I have a question. I have installed php and mysql on an apache-server on
windows and I can't connect to the server.
I tried to create a database (since I am trying to learn howto). My manual
said I should write this at the shell:
c:\mysql\bin>mysqladmin -u root creare mindb
I did this and got this error:
| |
by: Susanne |
last post by:
I have a server with my own domain and have created some users under
htdocs/users/. I have installed phpMyAdmin under htdocs/. Everything works,
but I can't open phpMyAdmin. I have made an alias in httpd.conf:
Alias /phpMyAdmin/ "C:/Program/Apache2/htdocs/phpMyAdmin/"
<Directory "C:/Program/Apache2/htdocs/phpMyAdmin">
Options Indexes...
|
by: Raul Elms |
last post by:
Hi,
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...
|
by: deko |
last post by:
I've just loaded phpMyAdmin on a Debian Linux server with Apache2, MySql5 and
PHP5.
myserver # dpkg -l | grep php
ii libapache-mod-php5 5.2.0-8+etch4
ii libapache2-mod-php4 4.4.4-8+etch2
ii php4-common 4.4.4-8+etch2
ii php5-common 5.2.0-8+etch4
ii php5-gd 5.2.0-8+etch4
ii php5-mcrypt 5.2.0-8+etch4
|
by: alex |
last post by:
I've converted a latin1 database I have to utf8. The process has been:
# mysqldump -u root -p --default-character-set=latin1 -c --insert-ignore
--skip-set-charset mydb mydb.sql
# iconv -f ISO-8859-1 -t UTF-8 mydb.sql mydb_utf8.sql
mysqlCREATE DATABASE mydb_utf8 CHARACTER SET utf8 COLLATE utf8_general_ci;
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it. ...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...
| | |