Working on a MacbookPro OS 10.6.6 , using MAMP Pro 1.9.4.
I'm attempting to install Acquia's Drupal Commons locally. The installation progress bar goes all the way, I can check in phpMyadmin that the database has been populated, but before the site configuration screen , I get a 500 Server Error!
Standard Drupal 6 or 7 install without any problem & I was able to install Drupal Commons on my web server. So it seems that some form of conflicts happens between my server configuration ( Mamp Pro ) and Drupal Commons.
Thanks in advance for any suggestions!
Did you check that your sites/default/default.settings.php file was copied to settings.php and not just renamed?
I remember having problems setting up Drupal when I just renamed it, both files need to be there.
I solved the issue by raising the PHP limit in Mamp to 96M.
File > Edit Template > PHP > PHP Version
//Search for 'memory_limit' & edit the value
memory_limit = '96M';
then restart the server.
After dong this Drupal Commons should install without any problems.
Related
I installed a XAMPP application and used localhost to install the latest version of WordPress. Every time I try to upload the or update plugin or theme, it gives me an error
Couldn't create the directory.
I'm using Mac OS X, I've changed the permissions as well as I have added the define('FS_METHOD','direct'); command in the wp-config file. However, it is still not working for me.
What can I do in this case?
UPDATE
I have already tried following the steps in this article:
XAMPP permissions on Mac OS X?
when i'm entering the domain-name or IP on the browser for setup of magento2, then its shows me this error.
please check htaccess file. Rename htaccess file then again check.
check your php install or not. If installed then check its version beacuse magento 2.0 version working on 7.0.2 php.
check here requirement
I have a localhost development environment using MAMP Pro, with a Wordpress website working successfully using PHP 5.6.8. Changing the host to PHP 7.0.13 (and changing nothing else) results in the error:
Warning: mysqli_real_connect(): (HY000/2002): No such file or
directory in [edited path]/wp-includes/wp-db.php on line 1538
Error establishing a database connection
This either means that the username and password information in your
wp-config.php file is incorrect or we can’t contact the database
server at localhost:3306. This could mean your host’s database server
is down.
Screenshot of Complete Error
wp-config.php definitely has correct username, password, hostname and the database is running. Solutions to similar issues/warnings suggest the MySQL socket path in php.ini file could be wrong, but I have compared that file across the two php versions and they are the same.
I am using the latest versions of MAMP Pro (4.1) and Wordpress (4.7.4), as well as OS X (10.12.4). Also, the website works fine again when changing the host back to PHP 5.6.8.
No idea what else to do/check. Any thoughts are much appreciated.
Wordpress 4.6 later version is not supported in Php 7.0 So please Reinstall Php 5.6 and check .so working
After updating to PHP7 you need to check the path to the mysql.sock.
Open the php.ini file and correct the path
mysql.default_socket = /Applications/MAMP/bin/IDONTKNOW...../mysql.sock
I haven't been able to install new plugins or updating plugins after upgrading to wordpress 4.3 on my Ubuntu Server 12.04.5 32bit machine. Usually I could just do it by clicking on the "update" link that's associated with a specific plugin. And it will update it successfully with less than a minute. But this time, it took so long and at the end, it threw out error "download failed, couldn't connect to host".
Then, I thought and guessed that it might be to do with the new wordpress 4.3. So I downgraded it back to previous version 4.2.4 and tried to update the plugin that needs updating. It also took so long and in the end, gave the same error message.
The strange thing is that I haven't made any changes to my Ubuntu server in terms of firewall at all.
My installed PHP version is 5.5.25 and apache is 2.4.12.
The permission of my wp-config.php is 644.
I don't know what else to look. Any help would be greatly appreciated.
Thank you in advance
did you install the correct .dll files in system directory? uninstall the program and try running a system repair and .dll file patcher
I just installed WAMP on my new eeePC and I am trying to install Drupal, I unzipped the drupal file in the www directory and went to localhost/drupal-x.xx
I get the following error for a couple hundred lines :
Deprecated: Function ereg() is deprecated in C:\wamp\www\drupal-6.15\includes\file.inc on line 902
then the regular drupal install interface appears at the bottom of the page, I tryed to go through with the installation but the problem remains, I looked through google and the drupal web site and I can find no answer (I found similar problem (in french), but no answer).
I have installed wamp and drupal on other computers (win XP and Mac OS) and it seems to work all right so it makes me think it might be related to the eeePC or windows 7 (running on windows 7 starter edition). Any idea ?
Thx
Ok it just seems that Drupal does not support PHP 5.3, which was installed in the latest version of WAMP, which I did not have on my other computers. I have to go back to 5.2, which you can do by installing a php 5.2.x addon from the wampserver website
If phpmyadmin doesn't work after installing your add, you will have to modify the php.ini file with the right path
; Directory in which the loadable extensions (modules) reside.
extension_dir = "c:/wamp/bin/php/php5.x.x/ext/"
replace php5.x.x by the version of php you downloaded and installed
My bad :)
Please try with PHP 5.6 or PHP7 installtion,otherwise it will put depcrated notice on header area.