I need help getting Wordpress running locally under GAE on Windows

99 views
Skip to first unread message

lordjoe

unread,
Sep 23, 2013, 3:02:46 PM9/23/13
to google-a...@googlegroups.com

There is a nice article https://developers.google.com/appengine/articles/wordpress on how to get wordpress running under google app engine. I am running under Windows 8 (64 Bit) I followed the steps, installed Python and PHP used a MySQL instance I had running and added wp_user as described. I verified that the helloworld app runs with GAE locally. I verified that Mysql is running, wordpress_db exists and wp_user can connect as described in the article. I created wp-config.php as described.

in php,ini in my php installation I uncommented the lines extension=php_mysql.dll

When I run as described and hit localhost:8080 I get Your PHP installation appears to be missing the MySQL extension which is required by WordPress. extension=php_mysqli.dll

I tried installing http://wordpress.org/plugins/mysqli/ after putting db.php in wp_content localhost:8080 says php failure (255) with: stdout:X-Powered-By: PHP/5.4.20 Content-type: text/html stderr: Stdout on the command line says ERROR:root:php failure (255) with: stdout: X-Powered-By: PHP/5.4.20 Content-type: text/html

OK I am stuck - someone has gotten this running on windows but I see no troubleshooting information and am a newbie on PHP and Wordpress which I am using for political reasons

Can anyone out there offer any help

Vinny P

unread,
Sep 23, 2013, 8:41:47 PM9/23/13
to google-a...@googlegroups.com
On Mon, Sep 23, 2013 at 2:02 PM, lordjoe <sml...@lordjoe.com> wrote:

OK I am stuck - someone has gotten this running on windows but I see no troubleshooting information and am a newbie on PHP and Wordpress

 

If you're new to PHP and Wordpress, you can use the WAMP installer: http://codex.wordpress.org/Installing_WordPress#WAMP


On Mon, Sep 23, 2013 at 2:02 PM, lordjoe <sml...@lordjoe.com> wrote:

in php,ini in my php installation I uncommented the lines extension=php_mysql.dll

When I run as described and hit localhost:8080 I get Your PHP installation appears to be missing the MySQL extension which is required by WordPress. extension=php_mysqli.dll



This error occurs because PHP has deprecated all the mysql_* functions, moving instead to mysqli_*


On Mon, Sep 23, 2013 at 2:02 PM, lordjoe <sml...@lordjoe.com> wrote:

in php,ini in my php installation I uncommented the lines extension=php_mysql.dll



You need to uncomment php_mysqli.dll (notice the i at the end).
 
 
-----------------
-Vinny P
Technology & Media Advisor
Chicago, IL

App Engine Code Samples: http://www.learntogoogleit.com
 

Steve Lewis

unread,
Sep 24, 2013, 10:37:08 AM9/24/13
to google-a...@googlegroups.com
I have already tried with tried with 
extension=php_mysql.dll
uncommented
and also with both
extension=php_mysqli.dll
and
extension=php_mysql.dll

Neither way works


--
You received this message because you are subscribed to a topic in the Google Groups "Google App Engine" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-appengine/9cA_S8OZo4s/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-appengi...@googlegroups.com.
To post to this group, send email to google-a...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.



--
Steven M. Lewis PhD
4221 105th Ave NE
Kirkland, WA 98033
206-384-1340 (cell)
Skype lordjoe_com

Steve Lewis

unread,
Sep 24, 2013, 10:38:20 AM9/24/13
to google-a...@googlegroups.com
I meant 
extension=php_mysqli.dll alone and

extension=php_mysqli.dll alone 
extension=php_mysq i.dll alone together

Vinny P

unread,
Sep 25, 2013, 10:08:30 AM9/25/13
to google-a...@googlegroups.com

On Tue, Sep 24, 2013 at 9:37 AM, Steve Lewis <lordj...@gmail.com> wrote:
I have already tried with tried with 
extension=php_mysql.dll
uncommented
and also with both
extension=php_mysqli.dll
and
extension=php_mysql.dll



Can you create a simple PHP page to output phpinfo() ( http://php.net/manual/en/function.phpinfo.php ) and see if that says anything about the SQL settings?

If everything looks to be fine there, can you check using mysqli's error tool to get a more detailed error message? See http://php.net/manual/en/mysqli.error.php

Steve Lewis

unread,
Sep 25, 2013, 4:23:34 PM9/25/13
to google-a...@googlegroups.com
I attached the phpinfo to the sample helloworld app  (which works) so there may be some junk at the end
I assume php would be the same for the wordpress app in the next directory

--
You received this message because you are subscribed to a topic in the Google Groups "Google App Engine" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-appengine/9cA_S8OZo4s/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-appengi...@googlegroups.com.
To post to this group, send email to google-a...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.
phpinfo().htm
Reply all
Reply to author
Forward
Message has been deleted
0 new messages