I am really new in learning about CMS.
I started to create a test projekt for learning about TYPO3 and creating extbase ext.
Now I am stucked in installing TYPO3 with composer, it shows me this Problem.
couldnt find something in the web about this problem.
What do I have to do next? What do i have to looking for in the internet to solve the problem, or could one of you explain me (if quick), whats wrong here?my terminal Problem
You are missing the PHP extension xml which is one requirement to use TYPO3. Make sure you have enabled it in your server configuration. How this works depends on your environment thus you should check its documentation for this.
The composer error message tells you pretty clear what the problem is and what you have to do:
The Problem: PHP extension ext-xml is not installed
The Solution: Install it and activate it in the CLI context
Related
Me and a friend of mine are working with a project. She was responsible for a part of it, while I would add some functionalities to her code. So she send me her code and I should make it work in my machine and add my part.
However, I'm facing this problem. She has used yaml in the project (which I had no idea it existed before, I don't do web programming, only algorithm implementation). I tried to follow her instructions but got stuck at
Fatal error: Call to undefined function yaml_parse_file() in /var/www/html/cdn/map_of_site.php on line 8
So I thought that I should install the yaml library (which I think I did correctly).
I also added the yaml parser in the php.ini
But the error continues to appear.
The worst part is that I won't be able to get in touch with her for a couple of days (and I kind of dislike telling her that I don't know how to make her code work).
Could you please tell me in general what is required to make a project that uses yaml_parse_file() function work? Like what should I install or where to install it ...
PS: I work with linux mint and the project is php
Your frend used a php module that you don't have installed or enabled.
You can try to install it in the regular way (I don't know linux mint myself):
- apt-get install php5-yaml
- yum install php5-yaml
Or something like that.
If yaml is not available like that, you can try to use pecl.
You need this package: http://pecl.php.net/package/yaml
If you have pecl installed on your system (apt-get install pecl), you can just do pecl install yaml.
Usually when the extension is installed it is also directly enabled. You can test if it is enabled by creating a php file with <?php phpinfo(); ?> in it and running or visiting it (then search for yaml).
It turned out I hadn't installed yaml correctly. This article and the instructions that linux itself gives (<3) helped me solve it:
https://code.google.com/p/php-yaml/wiki/InstallingWithPecl
I am not sure if this is the proper place for this, so I apologize if I should ask it elsewhere.
I am attempting to setup an old Drupal 5 site just for the purpose of being able to view it short term. To do this I need to install PHP 5.2 on the web server (Ubuntu 10.04). Does anyone have any suggestions on how to do this? I can't find a simple way to install old versions of PHP.
This is quite a problem, as you probably know PHP-5.2 is been dead for some time now, so you can't just apt-get install php. The best way to go is to compile it yourself.
You can grab a copy from the github PHP repository, and the follow the installation instructions (under ubuntu you'll need first to install the meta package build-essential to get all the tools needed to compile it).
Be aware that you should not run php5.2 in production by now!
PS: You'll probably have a better answer if you try superuser or serverfault.
I am trying to use the PayPal PHP SDK to make an online store, however the documentation tells me I need composer. When I try to install composer I get this error. I have no idea what this means, or how to fix it. What can I do to fix this? I
P.S. There are quite a few questions about this on SO, however, all of them that I have seen ask about using WAMP or something similar. I have no intention of using WAMP, or anything like that. The only thing I am trying to do is install composer properly.
EDIT: I am just using the Composer installer for Windows.
You need PHP installed whether you have a full test environment running or not. If you can't run PHP from the command line Composer stuff doesn't work. With a basic install of PHP the openssl extension is included so that error would go away.
You can install PHP manually on its own, or you could just install WAMP or any of the many others. I use Zend Server myself. It just installs everything for you so that it works without needing to mess with manual installation.
Once PHP in general is installed, though, that should get rid of this error.
I don't know it is the right place to ask this question but still for me it is the best place to ask question so i am asking this
"My Aim is to install alternative php cache (apc) on my website (hosted by dreamhost) "
My problem is it is not installing by following the wiki http://wiki.dreamhost.com/Pecl_APC .That wiki clearly specified that i need to run a custom php install in order to install APC but whyy?? isn't there a way to install APC in existing php version .My site uses php 5.2.17. Please help me i am stuck into this from a very long time now.The dreamhost wiki is not helpful at all i need answer from someone who has installed APC on their server please help
thanks in advance
I guess you need to install a custom PHP because APC is a plugin that to configure needs compiling with PHP. So I guess dream host do not want to give you access to the default installation.
Did you try installing the custom PHP?
What error have you come across?
As the title states, I am having considerable problems in installing the Zend Framework through PEAR. After spending most of the day on this I'm quite surprised and frustrated with the lack of documentation, so as a result I was hoping the community would help me out.
Today I decided to change from XAMPP to WAMPSERVER2.2 for my development environment. After configuring the environment correctly and attempted to install Zend, I was dismayed to find that it does not come with the PEAR manager by default (that raises the question, why the hell not???). As a result I had to go download go-pear.phar and run the install under the command prompt >php go-pear.phar. All seems to run quite well... however, after adding the Zend channel zend.googlecode.com/svn trying to install the package via pear install zend/zend I run into problems, i.e. No releases available for package "zend.googlecode.com/svn/zend" install failed.
Tearing my hair out over this... could it be that pear was installed incorrectly? Why after adding the channel would the install fail? Any advice would be much appreciated.
You're getting upset about the wrong things. I hope I can give you a few clarifications.
PEAR installer and the WAMP (Windows Apache MySQL PHP) stack of your choice are not connected in any way and it is good, if such packages let you handle your own PEAR environment independently from it.
The time of XAMPP and WAMPSERVER are over, use Zend Server Community Edition, it's so much better, more stable, easier to set up, easier to configure.
Zend Framework is just a library, it doesn't need any installation. Why don't you just download it, place it wherever you like and put it on your PHP include path?
The installation over PEAR as you describe it, works for me, maybe you don't have the latest PEAR manager. Find out which PEAR version you have installed with pear list.
The most important point is. You only need to learn about the PHP include path and you can solve this problem in no time in any environment independently of any W/L AMP stack or PEAR installation.
I know its a bit late, but in case someone else runs into the same problem, this may help:
http://code.google.com/p/zend/issues/detail?id=25
It's basically a problem with pear and cache.