By halloffame on
I have a bunch of this error when I ran my site locally:
Function ereg() is deprecated in C:\xampp\htdocs\testsite\includes\file.inc on line 895.
I'm using xampp. I also encountered this with WAMP and the only thing I have to do is downgrade the mysql and php version to fix it. I can't seem to find a way to do this with xampp. How do I switch versions?
*While we're at it how do I go about creating a sub-domain with xampp? Example: testsite.localhost.
Thanks!
Comments
Yes, though I haven't
Yes, though I haven't confirmed myself, I've heard Drupal 6 and below may have some issues with the latest PHP. It was designed for 5.2 and below, though 7 works in the new version (I believe).
Now that XAMMP comes with PHP
Now that XAMMP comes with PHP 5.3 ( http://www.apachefriends.org/en/xampp-windows.html ) and Drupal 6 ( http://drupal.org/requirements - PHP 5.3 is not currently supported by Drupal 6.x ) Why not give the Acquia stack installer ( http://acquia.com/downloads ) a try?
The Acquia Drupal Stack installer is a Drupal-specific xAMP installer, or "DAMP"
Thanks! Can I use DAMP stack
Thanks!
Can I use DAMP stack installer with other CMS when developing locally? i.e: wordpress and joomla. Or setup is just Drupal specific?
It's really not necessary.
If you can't get anything else to work, the DAMP installer installs everything you need for Drupal, and it doesn't seem hard to get something non-Drupal to work. It works like an old version of WAMPServer, so I recommend using WAMPServer 2.0h instead: http://sourceforge.net/projects/wampserver/files/
WAMPServer 2.0i uses PHP 5.3.2, so you need to pay close attention to the letter when downloading. Make sure you get version 2.0h!
---
I have created and maintained countless Drupal-powered sites and have made heavy modifications to modules on a site-by-site basis. I am an illustrator, a game developer, and a web developer. I also stream on Twitch in my spare time.
WampServer is great except
I've used WampServer 2.0h for a long time without any problem except that it doesn't embed a mail functionality, mail(). When you want to get Drupal 6.x to send e-mail out to an external account, like Gmail, for a test, it doesn't work. Fair enough, if you use WampServer, you'll get a warning about the absence of the mail function early on at the end of your Drupal installation. I ignored the warning before because I wouldn't need the mail function then and would troubleshoot it later on. But now I need it, I still have trouble to get it worked...