Salutations Kamran ,Thanks for your reply . I am using Centos 6.5 Os and i need to know how to install Google php sdk online on my GCE . i tried to do it and i failed .Thanks .
I'll list the steps that you can take to install Google App Engine SDK for PHP on a CentOS 6.x Linux machine:
1. Download and unzip the App Engine PHP SDK$ unzip google_appengine_1.9.22.zip2. Add the google_appengine directory to your PATH (modify the /path/to/google_appengine to where google_appengine is unzipped)$ export PATH=$PATH:/path/to/google_appengine/3. Install Python 2.7.10$ sudo yum install gcc$ sudo yum install sqlite-devel$ wget https://www.python.org/ftp/python/2.7.10/Python-2.7.10.tgz$ tar xzf Python-2.7.10.tgz$ cd Python-2.7.10$ ./configure$ sudo make install$ cd -Check the Python Version# python2.7 -V
Python 2.7.9
4. Install PHP 5.5$ sudo yum install mysql mysql-devel mysql-lib libxml2-devel$ tar -xvf php-5.5.26.tar.gz$ cd php-5.5.26$ ./configure --enable-bcmath --with-mysql --with-pdo-mysql$ sudo make install$ cd -Check the PHP Version$ php -vPHP 5.5.26 (cli)5. Install MySQL server on your machine:$ sudo yum install mysql-server$ sudo /sbin/service mysqld start
When starting the MySQL server, note the password for the MySQL root user; make sure that you remember it.Sincerely,KamranOn Tuesday, June 16, mohamed hassan wrote:Salutations Kamran ,Thanks for your reply . I am using Centos 6.5 Os and i need to know how to install Google php sdk online on my GCE . i tried to do it and i failed .Thanks .
--
© 2014 Google Inc. 1600 Amphitheatre Parkway, Mountain View, CA 94043
Email preferences: You received this email because you signed up for the Google Compute Engine Discussion Google Group (gce-discussion@googlegroups.com) to participate in discussions with other members of the Google Compute Engine community and the Google Compute Engine Team.
---
You received this message because you are subscribed to a topic in the Google Groups "gce-discussion" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/gce-discussion/pR8t7waCGpU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to gce-discussion+unsubscribe@googlegroups.com.
To post to this group, send email to gce-discussion@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gce-discussion/98c2e410-7598-4fcd-983f-38c4bee93e3a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
app.yaml with the following contents:application: helloworld
version: 1
runtime: php55
api_version: 1
handlers:
- url: /.*
script: helloworld.php
helloworld.php with the following contents:<?php
echo 'Hello, World!';
google_appengine/dev_appserver.py --php_executable_path=/usr/local/bin/php-cgi helloworld/
Hi Mohamed,I've updated the steps for installing Python 2.7.10 Python 2.7.10 is a bug fix release of the Python 2.7.x series [1]. I also added the step for installing 'sqlite-devel' which is needed for running dev_appserver.py:
Email preferences: You received this email because you signed up for the Google Compute Engine Discussion Google Group (gce-dis...@googlegroups.com) to participate in discussions with other members of the Google Compute Engine community and the Google Compute Engine Team.
---
You received this message because you are subscribed to a topic in the Google Groups "gce-discussion" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/gce-discussion/pR8t7waCGpU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to gce-discussio...@googlegroups.com.
To post to this group, send email to gce-dis...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gce-discussion/98c2e410-7598-4fcd-983f-38c4bee93e3a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
© 2014 Google Inc. 1600 Amphitheatre Parkway, Mountain View, CA 94043
Email preferences: You received this email because you signed up for the Google Compute Engine Discussion Google Group (gce-dis...@googlegroups.com) to participate in discussions with other members of the Google Compute Engine community and the Google Compute Engine Team.
---
You received this message because you are subscribed to a topic in the Google Groups "gce-discussion" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/gce-discussion/pR8t7waCGpU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to gce-discussio...@googlegroups.com.
To post to this group, send email to gce-dis...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gce-discussion/60e00851-6683-4fb8-a5df-249da44064dc%40googlegroups.com.